use %global instead of %define
This commit is contained in:
parent
345a184ef8
commit
2c35111bc9
@ -19,15 +19,15 @@
|
|||||||
%global libusb1 0
|
%global libusb1 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define __provides_exclude_from ^%{_libdir}/sane/.*\.so.*$
|
%global __provides_exclude_from ^%{_libdir}/sane/.*\.so.*$
|
||||||
%define __requires_exclude ^libsane-.*\.so\.[0-9]*(\(\).*)?+$
|
%global __requires_exclude ^libsane-.*\.so\.[0-9]*(\(\).*)?+$
|
||||||
|
|
||||||
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} >= 8
|
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} >= 8
|
||||||
%define _maindocdir %{_docdir}/%{name}
|
%global _maindocdir %{_docdir}/%{name}
|
||||||
%define _docdocdir %{_docdir}/%{name}-doc
|
%global _docdocdir %{_docdir}/%{name}-doc
|
||||||
%else
|
%else
|
||||||
%define _maindocdir %{_docdir}/%{name}-%{version}
|
%global _maindocdir %{_docdir}/%{name}-%{version}
|
||||||
%define _docdocdir %{_docdir}/%{name}-doc-%{version}
|
%global _docdocdir %{_docdir}/%{name}-doc-%{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Scanner access software
|
Summary: Scanner access software
|
||||||
@ -285,6 +285,9 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|||||||
%{_libdir}/sane/*gphoto2.so*
|
%{_libdir}/sane/*gphoto2.so*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 08 2015 Nils Philippsen <nils@redhat.com> - 1.0.25-1
|
||||||
- version 1.0.25
|
- version 1.0.25
|
||||||
- remove obsolete patches: epson-expression800, hwdb, pixma_bjnp-crash,
|
- remove obsolete patches: epson-expression800, hwdb, pixma_bjnp-crash,
|
||||||
|
Loading…
Reference in New Issue
Block a user