Makefile improvements related to building rpms.
This commit is contained in:
parent
9cae7819bf
commit
59c35e8927
1 changed files with 2 additions and 2 deletions
|
@ -48,9 +48,9 @@ dist-hook:
|
||||||
|
|
||||||
# build a source RPM using Fedora ~/rpmbuild dirs
|
# build a source RPM using Fedora ~/rpmbuild dirs
|
||||||
.PHONY: rpm
|
.PHONY: rpm
|
||||||
rpm:
|
rpm: dist
|
||||||
rpmdev-setuptree
|
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
|
cp -afv packaging/rpm/core.spec ~/rpmbuild/SPECS
|
||||||
rpmbuild -bs ~/rpmbuild/SPECS/core.spec
|
rpmbuild -bs ~/rpmbuild/SPECS/core.spec
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue