From e3ef0ba4fdc2a742e3a172b6e1b1e280e89611949dfc15c41590f65825a249b2 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 22 Feb 2013 13:45:39 +0000 Subject: [PATCH 1/2] - Added "BuildRequires: python-cups" to get special RPM Provides tags for the printers supported by this package (see SUSE Bugzilla bnc#735865). OBS-URL: https://build.opensuse.org/package/show/Printing/epson-inkjet-printer-escpr?expand=0&rev=8 --- epson-inkjet-printer-escpr-1.1.1-1lsb3.2.tar.gz | 3 --- epson-inkjet-printer-escpr.changes | 7 +++++++ epson-inkjet-printer-escpr.spec | 8 ++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 epson-inkjet-printer-escpr-1.1.1-1lsb3.2.tar.gz diff --git a/epson-inkjet-printer-escpr-1.1.1-1lsb3.2.tar.gz b/epson-inkjet-printer-escpr-1.1.1-1lsb3.2.tar.gz deleted file mode 100644 index 32cc16a..0000000 --- a/epson-inkjet-printer-escpr-1.1.1-1lsb3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a818ca37c92fef1a7dd7ecac28e9e8c714894b930b149661c261c58d1ea3633 -size 1067162 diff --git a/epson-inkjet-printer-escpr.changes b/epson-inkjet-printer-escpr.changes index f91f52b..1310ec1 100644 --- a/epson-inkjet-printer-escpr.changes +++ b/epson-inkjet-printer-escpr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 22 14:36:31 CET 2013 - jsmeix@suse.de + +- Added "BuildRequires: python-cups" to get special + RPM Provides tags for the printers supported by + this package (see SUSE Bugzilla bnc#735865). + ------------------------------------------------------------------- Wed Feb 8 12:39:53 CET 2012 - jsmeix@suse.de diff --git a/epson-inkjet-printer-escpr.spec b/epson-inkjet-printer-escpr.spec index 3016254..8156f53 100644 --- a/epson-inkjet-printer-escpr.spec +++ b/epson-inkjet-printer-escpr.spec @@ -1,7 +1,7 @@ # # spec file for package epson-inkjet-printer-escpr # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,10 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: epson-inkjet-printer-escpr BuildRequires: cups BuildRequires: cups-devel +# All printer driver packages should have "BuildRequires: python-cups" +# because python-cups installs special rpm macros that adds Provides tags +# for the printer drivers supported by the package, +# see https://bugzilla.novell.com/show_bug.cgi?id=735865 +BuildRequires: python-cups Version: 1.1.1 Release: 0 Url: http://avasys.jp/english/linux_e/ From b3eec430b2cf2d83aa8dbb8a4ba54540113b67f9c326c93265b344c02b4007fb Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 22 Feb 2013 13:54:41 +0000 Subject: [PATCH 2/2] "BuildRequires: python-cups" only if suse_version > 1010 (i.e. > SLE10) OBS-URL: https://build.opensuse.org/package/show/Printing/epson-inkjet-printer-escpr?expand=0&rev=9 --- epson-inkjet-printer-escpr.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/epson-inkjet-printer-escpr.spec b/epson-inkjet-printer-escpr.spec index 8156f53..12f298e 100644 --- a/epson-inkjet-printer-escpr.spec +++ b/epson-inkjet-printer-escpr.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: epson-inkjet-printer-escpr BuildRequires: cups BuildRequires: cups-devel @@ -22,7 +23,11 @@ BuildRequires: cups-devel # because python-cups installs special rpm macros that adds Provides tags # for the printer drivers supported by the package, # see https://bugzilla.novell.com/show_bug.cgi?id=735865 +# but python-cups is not available for SLE10, regarding the suse_version value for SLE10 +# see http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto +%if 0%{?suse_version} > 1010 BuildRequires: python-cups +%endif Version: 1.1.1 Release: 0 Url: http://avasys.jp/english/linux_e/