fix CentOS packaging documentation

Change-Id: I5bfd5e724ed79123ed0fddee9df00f698f7979ee
This commit is contained in:
Vincent Llorens 2016-06-01 13:21:32 +02:00
parent 259fa79734
commit 790ff84f4e
1 changed files with 7 additions and 4 deletions

View File

@ -100,9 +100,12 @@ Packaging for CentOS
3. Move `synergy-service/packaging/rpm/python-synergy.spec` to
`~/rpmbuild/SPECS`.
4. Create a source archive:
4. Create a source archive (where $VERSION is the current synergy-service version):
cp -r /path/to/synergy-service ~/rpmbuild/SOURCES/python-synergy-service
tar cjf python-synergy-service python-synergy-service.tar.bz2
cd ~/rpmbuild/SOURCES
cp -r /path/to/synergy-service python-synergy-service-$VERSION
tar cjf python-synergy-service-$VERSION.tar.bz2 python-synergy-service-$VERSION
5. Go in `~/rpmbuild/SPECS` and buils with `rpmbuild -ba python-synergy.spec`.
5. Go in `~/rpmbuild/SPECS` and build with `PBR_VERSION=$VERSION rpmbuild -ba python-synergy.spec`.
6. The resulting RPM can be found in `~/rpmbuild/RPMS/noarch`.