split off saned into daemon subpackage
This commit is contained in:
parent
c5176ac812
commit
5c9ab2f7d6
@ -67,9 +67,9 @@ BuildRequires: gphoto2-devel
|
|||||||
Requires: systemd >= 196
|
Requires: systemd >= 196
|
||||||
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
# Don't drag around obsoletes forever
|
# Don't drag around obsoletes forever
|
||||||
%if 0%{?fedora}%{?rhel} && (0%{?fedora} < 25 || 0%{?rhel} < 8)
|
%if ! (0%{?fedora} >= 27 || 0%{?rhel} >= 8)
|
||||||
Obsoletes: sane-backends < 1.0.23-10
|
Obsoletes: sane-backends < 1.0.25-3
|
||||||
Conflicts: sane-backends < 1.0.23-10
|
Conflicts: sane-backends < 1.0.25-3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -151,6 +151,20 @@ Provides: sane-libs-gphoto2%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|||||||
%description drivers-cameras
|
%description drivers-cameras
|
||||||
This package contains backend drivers to access digital cameras through SANE.
|
This package contains backend drivers to access digital cameras through SANE.
|
||||||
|
|
||||||
|
%package daemon
|
||||||
|
Summary: Scanner network daemon
|
||||||
|
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
# Split off saned from 1.0.25-3 on, don't drag around obsoletes forever
|
||||||
|
%if ! (0%{?fedora} >= 27 || 0%{?rhel} >= 8)
|
||||||
|
Obsoletes: sane-backends < 1.0.25-3
|
||||||
|
Conflicts: sane-backends < 1.0.25-3
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description daemon
|
||||||
|
This package contains saned which is the daemon that allows remote clients to
|
||||||
|
access image acquisition devices available on the local host.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -252,7 +266,6 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|||||||
%{_bindir}/sane-find-scanner
|
%{_bindir}/sane-find-scanner
|
||||||
%{_bindir}/scanimage
|
%{_bindir}/scanimage
|
||||||
%{_bindir}/umax_pp
|
%{_bindir}/umax_pp
|
||||||
%{_sbindir}/*
|
|
||||||
|
|
||||||
%exclude %{_mandir}/man1/sane-config.1*
|
%exclude %{_mandir}/man1/sane-config.1*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
@ -279,10 +292,14 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|||||||
%files drivers-cameras
|
%files drivers-cameras
|
||||||
%{_libdir}/sane/*gphoto2.so*
|
%{_libdir}/sane/*gphoto2.so*
|
||||||
|
|
||||||
|
%files daemon
|
||||||
|
%{_sbindir}/saned
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Oct 07 2016 Nils Philippsen <nils@redhat.com>
|
* Fri Oct 07 2016 Nils Philippsen <nils@redhat.com>
|
||||||
- use %%license for license files
|
- use %%license for license files
|
||||||
- remove some obsolete cruft from the spec file
|
- remove some obsolete cruft from the spec file
|
||||||
|
- split off saned into daemon subpackage
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.25-2
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.25-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user