From b3eec430b2cf2d83aa8dbb8a4ba54540113b67f9c326c93265b344c02b4007fb Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 22 Feb 2013 13:54:41 +0000 Subject: [PATCH] "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/