From b52f4a87b3e394f2c4e9c73e75272ba8289e6689 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 8 May 2009 16:34:12 +0000 Subject: [PATCH] - Avoid stripping binaries before rpmbuild creates the -debuginfo subpackage. --- cups.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cups.spec b/cups.spec index 74f334f..119c617 100644 --- a/cups.spec +++ b/cups.spec @@ -8,7 +8,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.4 -Release: 0.%{pre}.15%{?dist} +Release: 0.%{pre}.16%{?dist} License: GPLv2 Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}%{?svn}-source.tar.bz2 @@ -214,9 +214,9 @@ aclocal -I config-scripts autoconf -I config-scripts %build -export CFLAGS="-DLDAP_DEPRECATED=1" -%configure --with-docdir=%{_datadir}/%{name}/www \ - --with-optim="$RPM_OPT_FLAGS $CFLAGS -fstack-protector-all" \ +export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1" +# --enable-debug to avoid stripping binaries +%configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \ %if %lspp --enable-lspp \ %endif @@ -478,6 +478,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/php/modules/*.so %changelog +* Thu May 7 2009 Ville Skyttä - 1:1.4-0.b2.16 +- Avoid stripping binaries before rpmbuild creates the -debuginfo subpackage. + * Sun Apr 26 2009 Tim Waugh 1:1.4-0.b2.15 - Accept "Host: ::1" (bug #497393). - Accept Host: fields set to the ServerName value (bug #497301).