SPECS: cups-driver-splix.spec - optflags patch - pass __cxx and rpm*flags

sparky sparky at pld-linux.org
Sat Sep 20 21:34:16 CEST 2008


Author: sparky                       Date: Sat Sep 20 19:34:16 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- optflags patch
- pass __cxx and rpm*flags

---- Files affected:
SPECS:
   cups-driver-splix.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/cups-driver-splix.spec
diff -u SPECS/cups-driver-splix.spec:1.1 SPECS/cups-driver-splix.spec:1.2
--- SPECS/cups-driver-splix.spec:1.1	Sat Sep 20 20:54:34 2008
+++ SPECS/cups-driver-splix.spec	Sat Sep 20 21:34:10 2008
@@ -7,6 +7,7 @@
 Group:		Applications
 Source0:	http://dl.sourceforge.net/splix/splix-%{version}.tar.bz2
 # Source0-md5:	13af25dd72aae68b39eaf557d62957a5
+Patch0:		%{name}-optflags.patch
 URL:		http://splix.sourceforge.net/
 BuildRequires:	cups-devel
 Requires:	cups
@@ -52,9 +53,14 @@
 
 %prep
 %setup -q -n splix-%{version}
+%patch0 -p1
 
 %build
-%{__make} DISABLE_JBIG=1
+%{__make} \
+	CXX="%{__cxx}" \
+	OPTCXXFLAGS="%{rpmcxxflags}" \
+	OPTLDFLAGS="%{rpmldflags} %{rpmcxxflags}" \
+	DISABLE_JBIG=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -103,6 +109,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/09/20 19:34:10  sparky
+- optflags patch
+- pass __cxx and rpm*flags
+
 Revision 1.1  2008/09/20 18:54:34  uzsolt
 - initial
 
================================================================

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



More information about the pld-cvs-commit mailing list