Suggestion: cups-windows -package to be repackaged

Jari Turkia jatu at hqcodeshop.fi
Tue Aug 28 03:47:58 PDT 2012


I was installing Linux into a new PC the other day. During my Samba-setup it occurred to me that the cups-windows -package has architecture i386 in it. See: http://www.cups.org/software.php cups-windows-6.0-1.i386.rpm

IMHO the architecture of RPM should be noarch, there are no Linux executable binaries in the package, after all. Also there is a requirement for cups-config command during build. So, I'm suggesting a patch for cups-windows .spec-file to fix these two issues.

The ready-made RPM and source-RPM -packages are available for download at: http://opensource.hqcodeshop.com/CUPS/

Regards,
Jari Turkia


The patch follows:
--- SPECS/cups-windows.spec.orig        2006-04-20 02:54:59.000000000 +0300
+++ SPECS/cups-windows.spec     2012-08-28 13:30:03.188672020 +0300
@@ -25,7 +25,7 @@
 Summary: Common UNIX Printing System
 Name: cups-windows
 Version: 6.0
-Release: 1
+Release: 2
 Epoch: 1
 License: GPL
 Group: System Environment/Daemons
@@ -33,6 +33,8 @@
 Url: http://www.cups.org/windows/
 Packager: Anonymous <anonymous at foo.com>
 Vendor: Easy Software Products
+BuildArch:     noarch
+BuildRequires: cups-devel

 # Use buildroot so as not to disturb the version already installed
 BuildRoot: /tmp/%{name}-root
@@ -61,6 +63,11 @@
 %dir /usr/share/cups/drivers
 /usr/share/cups/drivers/*

+%changelog
+* Tue Aug 28 2012 Jari Turkia <jatu at hqcodeshop.fi>
+- Release 6.0-2
+- Changed architecture into noarch. This package does not contain Linux
+  executable binaries.

 #
 # End of "$Id: cups-windows.spec.in 5 2006-04-19 23:47:43Z mike $".




More information about the cups-devel mailing list