mirror of https://github.com/debauchee/barrier.git
Changed Makefile.am to use rpmbuild
This commit is contained in:
parent
df0fd3d916
commit
88bcfba3ca
|
@ -66,7 +66,7 @@ dist-rpm: dist
|
|||
mkdir $(RPMTOPDIR)
|
||||
(cd $(RPMTOPDIR); mkdir BUILD SOURCES SPECS SRPMS RPMS)
|
||||
cp @PACKAGE@-@VERSION@.tar.gz $(RPMTOPDIR)/SOURCES
|
||||
rpm --define '_topdir $(RPMTOPDIR)' -ba dist/rpm/synergy.spec && \
|
||||
rpmbuild --define '_topdir $(RPMTOPDIR)' -ba dist/rpm/synergy.spec && \
|
||||
mv -f $(RPMTOPDIR)/SRPMS/*.rpm . && \
|
||||
mv -f $(RPMTOPDIR)/RPMS/*/*.rpm . && \
|
||||
rm -rf $(RPMTOPDIR)
|
||||
|
|
Loading…
Reference in New Issue