README.md

This repository packages the FTS-REST-Client for Fedora and EPEL repositories.

Build the source tarball

$ git clone --depth=1 --branch v3.12.0-client https://gitlab.cern.ch/fts/fts-rest-flask.git fts-rest-client-3.12.0
$ tar -C fts-rest-client-3.12.0/ -czf fts-rest-client-3.12.0.tar.gz src/cli src/fts3 LICENSE setup.py setup.cfg --transform "s|^|fts-rest-client-3.12.0/|" --show-transformed-names

Build the SRPM

$ rpmbuild -bs fts-rest-client.spec --define "_sourcedir ${PWD}" --define "_srcrpmdir ${PWD}"

Build the RPM

$ rpmbuild --rebuild --define "_rpmdir ${PWD}/RPMS" fts-rest-client-3.12.0-1*.src.rpm