"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
This commit is contained in:
Johannes Meixner 2013-02-22 13:54:41 +00:00 committed by Git OBS Bridge
parent e3ef0ba4fd
commit b3eec430b2

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: epson-inkjet-printer-escpr Name: epson-inkjet-printer-escpr
BuildRequires: cups BuildRequires: cups
BuildRequires: cups-devel BuildRequires: cups-devel
@ -22,7 +23,11 @@ BuildRequires: cups-devel
# because python-cups installs special rpm macros that adds Provides tags # because python-cups installs special rpm macros that adds Provides tags
# for the printer drivers supported by the package, # for the printer drivers supported by the package,
# see https://bugzilla.novell.com/show_bug.cgi?id=735865 # 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 BuildRequires: python-cups
%endif
Version: 1.1.1 Version: 1.1.1
Release: 0 Release: 0
Url: http://avasys.jp/english/linux_e/ Url: http://avasys.jp/english/linux_e/