remove some obsolete cruft from the spec file

This commit is contained in:
Nils Philippsen 2016-10-07 19:51:04 +02:00
parent f9aa117670
commit c5176ac812

View File

@ -38,7 +38,6 @@ Release: 2%{?dist}
# Tools are GPLv2+, docs are public domain
# see LICENSE for details
License: GPLv2+ and GPLv2+ with exceptions and Public Domain
Group: System Environment/Libraries
# Alioth Download URLs are amazing.
Source0: https://alioth.debian.org/frs/download.php/latestfile/176/sane-backends-%{version}.tar.gz
Source1: sane.png
@ -81,7 +80,6 @@ hand-held scanner, video and still cameras, frame-grabbers, etc.).
%package doc
Summary: SANE backends documentation
Group: Documentation
BuildArch: noarch
# Don't drag around obsoletes forever
%if 0%{?fedora}%{?rhel} && (0%{?fedora} < 25 || 0%{?rhel} <= 8)
@ -94,7 +92,6 @@ This package contains documentation for SANE backends.
%package libs
Summary: SANE libraries
Group: System Environment/Libraries
Recommends: %{name}-backends-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Recommends: %{name}-backends-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
@ -104,7 +101,6 @@ want to access scanners.
%package devel
Summary: SANE development toolkit
Group: Development/Libraries
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%if %needs_multilib_quirk
@ -127,7 +123,6 @@ Easy (SANE) modules.
%package drivers-scanners
Summary: SANE backend drivers for scanners
Group: System Environment/Libraries
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
# Don't drag around obsoletes forever
@ -143,7 +138,6 @@ This package contains backend drivers to access scanner hardware through SANE.
%package drivers-cameras
Summary: Scanner backend drivers for digital cameras
Group: System Environment/Libraries
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
# Don't drag around obsoletes forever
@ -240,7 +234,6 @@ udevadm hwdb --update >/dev/null 2>&1 || :
%postun libs -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%docdir %{_maindocdir}
%doc %{_maindocdir}/AUTHORS
%doc %{_maindocdir}/ChangeLog
@ -267,15 +260,12 @@ udevadm hwdb --update >/dev/null 2>&1 || :
%dir %{_libdir}/sane
%files doc
%defattr(-, root, root)
%doc %{_docdocdir}
%files libs
%defattr(-, root, root)
%{_libdir}/libsane*.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/sane-config
%{_mandir}/man1/sane-config.1*
%{_includedir}/sane
@ -283,17 +273,16 @@ udevadm hwdb --update >/dev/null 2>&1 || :
%{_libdir}/pkgconfig/sane-backends.pc
%files drivers-scanners
%defattr(-, root, root)
%{_libdir}/sane/*.so*
%exclude %{_libdir}/sane/*gphoto2.so*
%files drivers-cameras
%defattr(-, root, root)
%{_libdir}/sane/*gphoto2.so*
%changelog
* Fri Oct 07 2016 Nils Philippsen <nils@redhat.com>
- use %%license for license files
- remove some obsolete cruft from the spec file
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild