SPECS: irssi.spec - new way of disabling --as-needed, put inside b...

sparky sparky at pld-linux.org
Thu Aug 24 12:59:00 CEST 2006


Author: sparky                       Date: Thu Aug 24 10:59:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new way of disabling --as-needed, put inside bcond: it's caused by broken
  "dynamic" patch

---- Files affected:
SPECS:
   irssi.spec (1.134 -> 1.135) 

---- Diffs:

================================================================
Index: SPECS/irssi.spec
diff -u SPECS/irssi.spec:1.134 SPECS/irssi.spec:1.135
--- SPECS/irssi.spec:1.134	Thu Aug 24 12:37:47 2006
+++ SPECS/irssi.spec	Thu Aug 24 12:58:55 2006
@@ -8,8 +8,6 @@
 
 %{?with_perl:%include	/usr/lib/rpm/macros.perl}
 
-%define	no_build_with_as_needed	1
-
 Summary:	Irssi is a IRC client
 Summary(fr):	Irssi est un client IRC
 Summary(pl):	Irssi - wygodny w użyciu klient IRC
@@ -47,11 +45,16 @@
 BuildRequires:	pkgconfig
 BuildRequires:	popt-devel
 %{?with_perl:BuildRequires:	rpm-perlprov}
+BuildRequires:	rpmbuild(macros) >= 1.315
 Requires:	perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
 Obsoletes:	%{name}-speech
 Obsoletes:	%{name}-sql
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%if %{with dynamic}
+%define		filterout_ld	-Wl,--as-needed
+%endif
+
 %description
 Irssi is a textUI IRC client with IPv6 support.
 
@@ -184,6 +187,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.135  2006/08/24 10:58:55  sparky
+- new way of disabling --as-needed, put inside bcond: it's caused by broken
+  "dynamic" patch
+
 Revision 1.134  2006/08/24 10:37:47  arekm
 - rel 3; disable as-needed for now (needs more serious fixing due to inter-deps)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/irssi.spec?r1=1.134&r2=1.135&f=u



More information about the pld-cvs-commit mailing list