- Fixed devel package multilib conflict (bug #192664).

This commit is contained in:
Tim Waugh 2006-05-22 18:13:40 +00:00
parent 43d17c1527
commit 26c258c1bc
2 changed files with 20 additions and 0 deletions

15
cups-multilib.patch Normal file
View File

@ -0,0 +1,15 @@
--- cups-1.2.0/cups-config.in.multilib 2006-05-22 19:05:17.000000000 +0100
+++ cups-1.2.0/cups-config.in 2006-05-22 19:06:07.000000000 +0100
@@ -30,8 +30,10 @@
exec_prefix=@exec_prefix@
bindir=@bindir@
includedir=@includedir@
-libdir=@libdir@
-imagelibdir=@libdir@
+# Fetch libdir from gnutls's pkg-config script. This is a bit
+# of a cheat, but the cups-devel package requires gnutls-devel anyway.
+libdir=`pkg-config --variable=libdir gnutls`
+imagelibdir=`pkg-config --variable=libdir gnutls`
datadir=@datadir@
sysconfdir=@sysconfdir@
cups_datadir=@CUPS_DATADIR@

View File

@ -24,6 +24,7 @@ Patch0: cups-svn.patch
Patch1: cups-1.1.15-initscript.patch Patch1: cups-1.1.15-initscript.patch
Patch2: cups-no-gzip-man.patch Patch2: cups-no-gzip-man.patch
Patch3: cups-1.1.16-system-auth.patch Patch3: cups-1.1.16-system-auth.patch
Patch4: cups-multilib.patch
Patch5: cups-ext.patch Patch5: cups-ext.patch
Patch6: cups-includeifexists.patch Patch6: cups-includeifexists.patch
Patch7: cups-banners.patch Patch7: cups-banners.patch
@ -111,6 +112,7 @@ lpd emulation.
%patch1 -p1 -b .noinit %patch1 -p1 -b .noinit
%patch2 -p1 -b .no-gzip-man %patch2 -p1 -b .no-gzip-man
%patch3 -p1 -b .system-auth %patch3 -p1 -b .system-auth
%patch4 -p1 -b .multilib
%patch5 -p1 -b .ext %patch5 -p1 -b .ext
%patch6 -p1 -b .includeifexists %patch6 -p1 -b .includeifexists
%patch7 -p1 -b .banners %patch7 -p1 -b .banners
@ -377,6 +379,9 @@ rm -rf $RPM_BUILD_ROOT
%{cups_serverbin}/daemon/cups-lpd %{cups_serverbin}/daemon/cups-lpd
%changelog %changelog
* Mon May 22 2006 Tim Waugh <twaugh@redhat.com>
- Fixed devel package multilib conflict (bug #192664).
* Mon May 22 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.0-7 * Mon May 22 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.0-7
- Sync to svn5568. No longer need rpath patch. - Sync to svn5568. No longer need rpath patch.
- Added a 'conflicts:' for kdelibs to prevent bug #192548. - Added a 'conflicts:' for kdelibs to prevent bug #192548.