use %global instead of %define

This commit is contained in:
Nils Philippsen 2016-01-19 17:08:31 +01:00
parent 345a184ef8
commit 2c35111bc9

View File

@ -19,15 +19,15 @@
%global libusb1 0
%endif
%define __provides_exclude_from ^%{_libdir}/sane/.*\.so.*$
%define __requires_exclude ^libsane-.*\.so\.[0-9]*(\(\).*)?+$
%global __provides_exclude_from ^%{_libdir}/sane/.*\.so.*$
%global __requires_exclude ^libsane-.*\.so\.[0-9]*(\(\).*)?+$
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} >= 8
%define _maindocdir %{_docdir}/%{name}
%define _docdocdir %{_docdir}/%{name}-doc
%global _maindocdir %{_docdir}/%{name}
%global _docdocdir %{_docdir}/%{name}-doc
%else
%define _maindocdir %{_docdir}/%{name}-%{version}
%define _docdocdir %{_docdir}/%{name}-doc-%{version}
%global _maindocdir %{_docdir}/%{name}-%{version}
%global _docdocdir %{_docdir}/%{name}-doc-%{version}
%endif
Summary: Scanner access software
@ -285,6 +285,9 @@ udevadm hwdb --update >/dev/null 2>&1 || :
%{_libdir}/sane/*gphoto2.so*
%changelog
* Tue Jan 19 2016 Nils Philippsen <nils@redhat.com>
- use %%global instead of %%define
* Thu Oct 08 2015 Nils Philippsen <nils@redhat.com> - 1.0.25-1
- version 1.0.25
- remove obsolete patches: epson-expression800, hwdb, pixma_bjnp-crash,