Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. git clone https://github.com/stfc/xrootd.git -b <your_branch>

  2. cd xrootd/packaging

  3. ./makesrpm.sh --version <version no.(e.g. 5.5.4-00 5)> --define "_with_python3 1" --define "_with_tests 1" --define "_with_scitokens 1"  -D "dist .el7el<os version(7/8/9)>"

  4. cd to the output directory (said in the last ~5 lines of the output)

  5. mkdir RPMS

  6. rpmbuild --rebuild --define "_rpmdir RPMS/" --define "_with_python3 1" --define "_with_scitokens 1"  --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" -D "dist .el7" *.src.rpm

...