rpms/perl/F-10 perl.spec,1.201,1.202

Dennis Gilmore ausil at fedoraproject.org
Mon Feb 16 17:53:35 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/perl/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7519

Modified Files:
	perl.spec 
Log Message:
build sparc64 without smp_mflags



Index: perl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl/F-10/perl.spec,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -r1.201 -r1.202
--- perl.spec	7 Feb 2009 22:37:16 -0000	1.201
+++ perl.spec	16 Feb 2009 17:53:05 -0000	1.202
@@ -7,7 +7,7 @@
 
 Name:           perl
 Version:        %{perl_version}
-Release:        54%{?dist}
+Release:        55%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        Practical Extraction and Report Language
 Group:          Development/Languages
@@ -974,12 +974,11 @@
         -Dotherlibdirs=/usr/local/lib/perl5/site_perl
 %endif
 
-%ifarch sparcv9 sparc64
-%define _smp_mflags        %([ -z "$RPM_BUILD_NCPUS" ] && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \
-        if [ "$RPM_BUILD_NCPUS" -gt 12 ]; then echo "-j12"; elif [ "$RPM_BUILD_NCPUS" -gt 1 ]; then echo "-j$RPM_BUILD_NCPUS"; fi)
-%endif
-
+%ifarch sparc64
+make
+%else
 make %{?_smp_mflags}
+%endif
 
 
 %install
@@ -1712,6 +1711,9 @@
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Mon Feb 16 2009 Dennis Gilmore <dennis at ausil.us> - 4:5.10.0-55
+- build sparc64 without _smp_mflags
+
 * Sat Feb 09 2009 Dennis Gilmore <dennis at ausil.us> - 4:5.10.0-54
 - limit %%{?_smp_mflags} to 12 on sparc arches 
 




More information about the fedora-extras-commits mailing list