From f6b6480f2433b4a77d19f619a0675054f618b4be Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 19 Aug 2011 15:18:49 +0100 Subject: [PATCH] Tighten explicit libs sub-package requirement so that it includes the correct architecture as well (bug #731421 comment #8). --- cups.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/cups.spec b/cups.spec index f602c5e..c151195 100644 --- a/cups.spec +++ b/cups.spec @@ -8,7 +8,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.4.8 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: System Environment/Daemons Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -74,7 +74,7 @@ Epoch: 1 Url: http://www.cups.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: /sbin/chkconfig /sbin/service -Requires: %{name}-libs = %{epoch}:%{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} %if %use_alternatives Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat Requires: /usr/sbin/alternatives @@ -138,7 +138,7 @@ Requires: ghostscript-cups Summary: Common Unix Printing System - development environment Group: Development/Libraries License: LGPLv2 -Requires: %{name}-libs = %{epoch}:%{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: gnutls-devel Requires: krb5-devel Requires: zlib-devel @@ -154,7 +154,7 @@ License: LGPLv2 Summary: Common Unix Printing System - lpd emulation Group: System Environment/Daemons Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: %{name}-libs = %{epoch}:%{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: xinetd %package php @@ -577,6 +577,10 @@ rm -rf $RPM_BUILD_ROOT %{php_extdir}/phpcups.so %changelog +* Fri Aug 19 2011 Tim Waugh 1:1.4.8-3 +- Tighten explicit libs sub-package requirement so that it includes + the correct architecture as well (bug #731421 comment #8). + * Fri Aug 19 2011 Tim Waugh 1:1.4.8-2 - Avoid GIF reader loop (CVE-2011-2896, STR #3914, bug #727800).