From 88bcfba3ca531778e7d694eee8560568794e23b2 Mon Sep 17 00:00:00 2001 From: "syed.amer@gilani.eu" Date: Sat, 11 Apr 2009 08:46:14 +0000 Subject: [PATCH] Changed Makefile.am to use rpmbuild --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 26a5086f..9a0f3152 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)