diff --git a/cups-backends.changes b/cups-backends.changes index 6e9eeec..9b71392 100644 --- a/cups-backends.changes +++ b/cups-backends.changes @@ -1,7 +1,14 @@ +------------------------------------------------------------------- +Thu Aug 27 13:28:39 CEST 2009 - meissner@suse.de + +- fixed as-needed issue by using the right ordering + 'hal.c -o hal -ldbus-1 -lhal' in the spec file + ------------------------------------------------------------------- Fri Jun 19 10:35:46 CEST 2009 - coolo@novell.com -- disable as-needed for this package as it fails to build with it +- disable as-needed via 'export SUSE_ASNEEDED=0' + for this package as it fails to build with it ------------------------------------------------------------------- Thu May 28 12:58:50 CEST 2009 - jsmeix@suse.de diff --git a/cups-backends.spec b/cups-backends.spec index 913af49..7966f44 100644 --- a/cups-backends.spec +++ b/cups-backends.spec @@ -24,7 +24,7 @@ Summary: Various Free Backends for the cups Package License: GPL v2 or later Group: Hardware/Printing Version: 1.0 -Release: 254 +Release: 255 Source0: http://www.srz.de/Members/bla/cups/backend/hpnpf/hpnpf.tgz Source1: http://www.srz.de/Members/bla/cups/backend/hpnpf/hpnpf.txt Source2: cups-pipe.sh @@ -56,12 +56,9 @@ cp -a %{SOURCE4} . %patch1 -p0 %build -# This package failed when testing with -Wl,-as-needed being default. -# So we disable it here, if you want to retest, just delete this comment and the line below. -export SUSE_ASNEEDED=0 gcc $RPM_OPT_FLAGS -fPIC -fPIE -pie -DDBUS_API_SUBJECT_TO_CHANGE \ -I%{_includedir}/dbus-1.0/ -I%{_libdir}/dbus-1.0/include/ \ - -ldbus-1 -lhal hal.c -o hal + hal.c -o hal -ldbus-1 -lhal %install mkdir -p $RPM_BUILD_ROOT/%{_libdir}/cups/backend @@ -75,34 +72,3 @@ install -m 755 -D hal $RPM_BUILD_ROOT%{_libdir}/cups/backend/hal %{_libdir}/cups/backend/* %changelog -* Fri Jun 19 2009 coolo@novell.com -- disable as-needed for this package as it fails to build with it -* Thu May 28 2009 jsmeix@suse.de -- Removed the beh backend because it is now provided - in the upgraded foomatic-filters version 4.0.1 package. -- Replaced the pipe backend source cups-pipe.pl perl script - with a new source cups-pipe.sh bash script which works - in much better compliance to CUPS and which also fixes - a bug that it did not get signals from the cupsd - so that it did not terminate pipe when removing jobs - (see Novell/Suse Bugzilla bnc#499735). -* Mon Jul 30 2007 crivera@suse.de -- Silence the hal backend. This will allow current printers - that use the hal backend to work, but it will not report new - printers. This is the first step toward removing the backend - completely. -* Wed Mar 22 2006 lmuelle@suse.de -- Update beh backend to the current version. -- Add beh documentation derivated from http://www.linuxprinting.org/beh.html. -- Move ncp backend to the ncpfs package. -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Thu Jan 12 2006 kssingvo@suse.de -- added backend error handler (beh) (bugzilla#132002) -* Tue Oct 04 2005 jsrain@suse.cz -- fixed the error handling in the pipe backend (#93480) -* Mon Sep 19 2005 lmuelle@suse.de -- Don't redirect stdout to stderr in the pipe backend. -- Install the right files, [#117887]. -* Tue Jul 26 2005 kssingvo@suse.de -- initial version