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