SPECS: GraphicsMagick.spec - Filter out ldflags only for *-config, ...

qrczak qrczak at pld-linux.org
Sun Feb 25 20:23:42 CET 2007


Author: qrczak                       Date: Sun Feb 25 19:23:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Filter out ldflags only for *-config, not for building.
- Filter out -Wl,--as-needed too.

---- Files affected:
SPECS:
   GraphicsMagick.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/GraphicsMagick.spec
diff -u SPECS/GraphicsMagick.spec:1.12 SPECS/GraphicsMagick.spec:1.13
--- SPECS/GraphicsMagick.spec:1.12	Sun Feb 25 16:24:53 2007
+++ SPECS/GraphicsMagick.spec	Sun Feb 25 20:23:37 2007
@@ -30,6 +30,7 @@
 Patch1:		%{name}-system-libltdl.patch
 Patch2:		%{name}-link.patch
 Patch3:		%{name}-png.patch
+Patch4:		%{name}-ldflags.patch
 URL:		http://www.graphicsmagick.org/
 BuildRequires:	autoconf >= 2.59-9
 BuildRequires:	automake >= 1:1.8
@@ -59,8 +60,6 @@
 Obsoletes:	GraphicsMagick-coder-dps
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# we don't want "-s" here, because it would be added to `GraphicsMagick*-config --ldflags`
-%define		filterout_ld	(-Wl,)?-s (-Wl,)?--strip-all
 %define		modulesdir	%{_libdir}/GraphicsMagick-%{version}/modules-Q%{QuantumDepth}
 
 %description
@@ -549,6 +548,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 find PerlMagick scripts www -type f -exec perl -pi -e 's=!%{_prefix}/local/bin/perl=!%{__perl}=' {} \;
 
@@ -927,6 +927,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2007/02/25 19:23:37  qrczak
+- Filter out ldflags only for *-config, not for building.
+- Filter out -Wl,--as-needed too.
+
 Revision 1.12  2007/02/25 15:24:53  arekm
 - rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/GraphicsMagick.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list