]> git.saurik.com Git - wxWidgets.git/commitdiff
Use rpmbuild to build the RPMs in "make rpm" target.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Oct 2010 14:09:57 +0000 (14:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Oct 2010 14:09:57 +0000 (14:09 +0000)
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

Makefile.in
build/bakefiles/make_dist.mk

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