fix vendor tag retaining logic (thanks to Toshio Kuratomi)

This commit is contained in:
Nils Philippsen 2013-03-08 15:46:44 +01:00
parent 7c088828f2
commit 0f8a538982

View File

@ -2,8 +2,10 @@
%global bugtracker_url http://bugzilla.redhat.com
# Drop the vendor tag from Fedora 19 on
%if 0%{?fedora}%{?rhel} && (0%{?fedora} < 19 || 0%{?rhel} < 7)
%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
%global with_desktop_vendor_tag 1
%else
%global with_desktop_vendor_tag 0
%endif
%global gimpplugindir %(gimptool --gimpplugindir 2>/dev/null || echo INVALID)/plug-ins
@ -20,7 +22,7 @@
Name: xsane
Summary: X Window System front-end for the SANE scanner interface
Version: 0.998
Release: 18%{?dist}
Release: 19%{?dist}
Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
Source1: xsane-256x256.png
# distro-specific: use "xdg-open" instead of "netscape" to launch help browser
@ -230,6 +232,9 @@ fi
%{_datadir}/sane/xsane
%changelog
* Fri Mar 08 2013 Nils Philippsen <nils@redhat.com> - 0.998-19
- fix vendor tag retaining logic (thanks to Toshio Kuratomi)
* Thu Mar 07 2013 Nils Philippsen <nils@redhat.com> - 0.998-18
- retain vendor tag up to Fedora 18