Skip to content

Commit

Permalink
Dist agnostic mock build
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamwhiteuk committed Oct 11, 2020
1 parent 3e1cdec commit 1f0c5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ meson builddir
cd builddir
meson dist
rpmbuild -bs --define "_sourcedir meson-dist" NetworkManager-anyconnect.spec --define "_srcrpmdir ." --undefine dist
mock --arch=x86_64 -r fedora-32-x86_64 --resultdir="mock/NetworkManager-anyconnect-1.2.1-1.fc32" NetworkManager-anyconnect-1.2.1-1.fc32.src.rpm
mock --arch=x86_64 --resultdir="mock/NetworkManager-anyconnect-1.2.2-1" NetworkManager-anyconnect-1.2.2-1.src.rpm
```

Note 1: the `meson dist` command will only build a tar file from the currently committed code i.e. if you have local changes these will **not** be added to the build.
Expand Down

0 comments on commit 1f0c5e4

Please sign in to comment.