Bug 749834

Summary: Missing arch in dependencies
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: system-config-printer-1.3.7-3.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-19 17:23:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mads Kiilerich 2011-10-28 16:45:27 UTC
On a x64_64 custom live image (with some i686 packages) I ended up with system-config-printer-1.3.7-2.fc16.x86_64 with for example pygobject2-2.28.6-2.fc16.i686 as resolution of the pygobject2 requirement. That didn't work. system-config-printer on x86_64 will use python.x86_64 and it thus can't use the python libraries from pygobject2.i686.

"Fortunately" system-config-printer isn't noarch (because of /lib/udev/udev-configure-printer?) and it could and should use arch specific requires (http://fedoraproject.org/wiki/Packaging:Guidelines#Explicit_Requires ).

As far as I can see the requires section should/could look like this:

Requires: pygtk2%{?_isa} >= 2.12
Requires: pygobject2%{?_isa}
Requires: desktop-file-utils >= 0.2.92
Requires: dbus-x11
Requires: dbus-python%{?_isa}
Requires: system-config-printer-libs = %{version}-%{release}
Requires: gnome-icon-theme
Requires: desktop-notification-daemon
Requires: notify-python%{?_isa}
Requires: gnome-python2-gnomekeyring%{?_isa}
Requires: libxml2-python%{?_isa}
Requires: python-smbc%{?_isa}
Requires: python-slip-gtk

Comment 1 Tim Waugh 2011-11-04 15:56:55 UTC
Same is true on F-15.  Thanks for the correction.

Comment 2 Tim Waugh 2012-02-06 14:36:50 UTC
This fix is included in an update:
https://admin.fedoraproject.org/updates/FEDORA-2012-0923

Comment 3 Tim Waugh 2012-03-19 17:23:30 UTC
system-config-printer-1.3.8-4.fc15, python-cups-1.9.60-2.fc15 has been pushed
to the Fedora 15 stable repository.  If problems still persist, please make
note of it in this bug report.