develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33711 - in trunk: . config/gen/makefiles

From:
infinoid
Date:
December 9, 2008 06:54
Subject:
[svn:parrot] r33711 - in trunk: . config/gen/makefiles
Message ID:
20081209145418.99FE8CB9AF@x12.develooper.com
Author: infinoid
Date: Tue Dec  9 06:54:17 2008
New Revision: 33711

Modified:
   trunk/config/gen/makefiles/root.in
   trunk/parrot.spec

Log:
[ports] Some fixes for "make rpm" and parrot.spec. (Gerd Pokorra, RT #61208)

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in	(original)
+++ trunk/config/gen/makefiles/root.in	Tue Dec  9 06:54:17 2008
@@ -2180,9 +2180,11 @@
 	rm parrot-$(VERSION)
 
 rpms : release
-	sudo cp parrot-$(VERSION).tar.gz /usr/src/*/SOURCES
-	sudo cp parrot.spec /usr/src/*/SPECS
-	cd /usr/src/*/SPECS @make_and@ sudo rpmbuild -ba parrot.spec
+	mkdir -p rpmbuild/SOURCES rpmbuild/SPEC rpmbuild/BUILD rpmbuild/RPMS rpmbuild/SRPMS
+	cp parrot-$(VERSION).tar.gz rpmbuild/SOURCES
+	cp parrot.spec rpmbuild/SPEC
+	echo '%_topdir '`pwd`'/rpmbuild' > .rpmmacros
+	HOME=`pwd`; rpmbuild -ba parrot.spec
 
 win32-inno-installer : world installable
 	$(PERL) tools/dev/mk_inno.pl

Modified: trunk/parrot.spec
==============================================================================
--- trunk/parrot.spec	(original)
+++ trunk/parrot.spec	Tue Dec  9 06:54:17 2008
@@ -55,7 +55,7 @@
     --sysconfdir=%{_sysconfdir} \
     --infodir=%{_datadir}/info \
     --mandir=%{_mandir} \
-    --cc=%{__cc} \
+    --cc="%{__cc}" \
     --cxx=%{__cxx} \
     --optimize="$RPM_OPT_FLAGS -maccumulate-outgoing-args" \
     --parrot_is_shared \



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About