-
Notifications
You must be signed in to change notification settings - Fork 3
Building the rpm
DrDaveD edited this page Nov 10, 2023
·
1 revision
In order to build the rpm, assuming you have set up your own standard RPMBUILD area:
- Check out the source from github into a separate working area.
- In your RPMBUILD/SOURCES directory, make a cvmfs-hastratum1-$VERSION symlink where $VERSION is the Version field from cvmfs-hastratum1.spec
- In the same directory, create a tarball with
tar chvf cvmfs-hastratum1-$VERSION.tgz --exclude .git cvmfs-hastratum1-$VERSION
- In your RPMBUILD/SPEC directory, make a cvmfs-hastratum1.spec symlink pointing to the file in your working area.
- In the same directory build with
rpmbuild -ba cvmfs-hastratum1.spec