rpms/perl/F-10 perl.spec,1.200,1.201
Dennis Gilmore
ausil at fedoraproject.org
Sat Feb 7 22:37:47 UTC 2009
Author: ausil
Update of /cvs/pkgs/rpms/perl/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27153
Modified Files:
perl.spec
Log Message:
limit smp_mflags to 12 on sparc arches
Index: perl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl/F-10/perl.spec,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -r1.200 -r1.201
--- perl.spec 19 Jan 2009 09:45:15 -0000 1.200
+++ perl.spec 7 Feb 2009 22:37:16 -0000 1.201
@@ -7,7 +7,7 @@
Name: perl
Version: %{perl_version}
-Release: 53%{?dist}
+Release: 54%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -974,6 +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
+
make %{?_smp_mflags}
@@ -1707,6 +1712,9 @@
# Old changelog entries are preserved in CVS.
%changelog
+* Sat Feb 09 2009 Dennis Gilmore <dennis at ausil.us> - 4:5.10.0-54
+- limit %%{?_smp_mflags} to 12 on sparc arches
+
* Mon Jan 19 2009 Marcela MaÅ¡láÅová <mmaslano at redhat.com> - 4:5.10.0-53
- 455410 http://rt.perl.org/rt3/Public/Bug/Display.html?id=54934
Attempt to free unreferenced scalar fiddling with the symbol table
More information about the fedora-extras-commits
mailing list