packages: qrupdate/qrupdate.spec, qrupdate/make_jn.patch (NEW) - fixed para...

sls sls at pld-linux.org
Sat Sep 17 20:45:19 CEST 2011


Author: sls                          Date: Sat Sep 17 18:45:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed parallel building

---- Files affected:
packages/qrupdate:
   qrupdate.spec (1.1 -> 1.2) , make_jn.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/qrupdate/qrupdate.spec
diff -u packages/qrupdate/qrupdate.spec:1.1 packages/qrupdate/qrupdate.spec:1.2
--- packages/qrupdate/qrupdate.spec:1.1	Wed Oct 27 20:37:18 2010
+++ packages/qrupdate/qrupdate.spec	Sat Sep 17 20:45:14 2011
@@ -8,6 +8,7 @@
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/qrupdate/%{name}-%{version}.tar.gz
 # Source0-md5:	7782c7ee6c234e56a72d6b86c1856fa0
+Patch0:		make_jn.patch
 URL:		http://qrupdate.sourceforge.net/
 BuildRequires:	blas-devel
 BuildRequires:	gcc-fortran
@@ -50,9 +51,14 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__make} lib solib \
+%{__make} lib\
+	FC=gfortran \
+	FFLAGS="%{rpmcflags}" \
+	BLAS="%{rpmldflags} -lblas"
+%{__make} solib\
 	FC=gfortran \
 	FFLAGS="%{rpmcflags}" \
 	BLAS="%{rpmldflags} -lblas"
@@ -94,5 +100,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/09/17 18:45:14  sls
+- fixed parallel building
+
 Revision 1.1  2010/10/27 18:37:18  qboosh
 - new

================================================================
Index: packages/qrupdate/make_jn.patch
diff -u /dev/null packages/qrupdate/make_jn.patch:1.1
--- /dev/null	Sat Sep 17 20:45:19 2011
+++ packages/qrupdate/make_jn.patch	Sat Sep 17 20:45:14 2011
@@ -0,0 +1,16 @@
+ this patch allows parallel builds (or else:
+"warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.")
+--- qrupdate-1.1.1/Makefile.orig	2011-09-17 20:13:06.582130468 +0200
++++ qrupdate-1.1.1/Makefile	2011-09-17 20:13:17.671293784 +0200
+@@ -32,9 +32,9 @@ help:
+ 	@echo "   make install - installs everything"
+ 
+ lib:
+-	make -C src/ lib
++	+make -C src/ lib
+ solib:
+-	make -C src/ solib
++	+make -C src/ solib
+ test: lib
+ 	make -C test/
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qrupdate/qrupdate.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list