Use rpmbuild to build the RPMs in "make rpm" target.

In recent versions of rpm rpmbuild must be used for building the RPMs instead
of rpm itself.

See #12567.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-10-23 14:09:57 +00:00
parent b3706b40d2
commit 7f75598947
2 changed files with 4 additions and 4 deletions

View File

@ -37159,8 +37159,8 @@ rpm: bzip-dist
-mkdir $(RPMTOP)/RPMS -mkdir $(RPMTOP)/RPMS
-mkdir $(RPMTOP)/SRPMS -mkdir $(RPMTOP)/SRPMS
cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES
rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec rpmbuild -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
mv -f `find $(RPMTOP) -name "wx$(TOOLKIT)*.rpm"` . mv -f `find $(RPMTOP) -name "wx-*.rpm"` .
# Include dependency info, if present: # Include dependency info, if present:

View File

@ -933,5 +933,5 @@ rpm: bzip-dist
-mkdir $(RPMTOP)/RPMS -mkdir $(RPMTOP)/RPMS
-mkdir $(RPMTOP)/SRPMS -mkdir $(RPMTOP)/SRPMS
cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES
rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec rpmbuild -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
mv -f `find $(RPMTOP) -name "wx$(TOOLKIT)*.rpm"` . mv -f `find $(RPMTOP) -name "wx-*.rpm"` .