Makefile improvements related to building rpms.

This commit is contained in:
tgoff0 2015-02-13 22:35:38 +00:00
parent 9cae7819bf
commit 59c35e8927

View file

@ -48,9 +48,9 @@ dist-hook:
# build a source RPM using Fedora ~/rpmbuild dirs
.PHONY: rpm
rpm:
rpm: dist
rpmdev-setuptree
cp -afv core-*.tar.gz ~/rpmbuild/SOURCES
cp -afv core-@CORE_VERSION@.tar.gz ~/rpmbuild/SOURCES
cp -afv packaging/rpm/core.spec ~/rpmbuild/SPECS
rpmbuild -bs ~/rpmbuild/SPECS/core.spec