]> git.pld-linux.org Git - packages/irssi.git/commitdiff
- new way of disabling --as-needed, put inside bcond: it's caused by broken auto/th/irssi-0_8_10a-3
authorsparky <sparky@pld-linux.org>
Thu, 24 Aug 2006 10:58:55 +0000 (10:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  "dynamic" patch

Changed files:
    irssi.spec -> 1.135

irssi.spec

index bca3c1e142094ee31deab141e6654acf33bb1094..33a3f4aa835a8b8ebf2ce196a7698d3dbfbe787d 100644 (file)
@@ -7,8 +7,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
@@ -46,11 +44,16 @@ BuildRequires:      ncurses-devel >= 5.0
 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.
 
This page took 0.031432 seconds and 4 git commands to generate.