udev: improve dependencies

This commit is contained in:
Nils Philippsen 2012-09-10 12:35:30 +02:00
parent 8fdb3b9af3
commit f4f920d7f3

View File

@ -49,7 +49,12 @@ BuildRequires: libtiff-devel
BuildRequires: libv4l-devel
BuildRequires: gettext
BuildRequires: gphoto2-devel
# from Fedora 18 on, udev is merged with systemd
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 18 || 0%{?rhel} >= 7
Requires: systemd >= 183
%else
Requires: udev >= 143
%endif
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: sane-backends < 1.0.22-4
Conflicts: sane-backends < 1.0.22-4
@ -206,7 +211,7 @@ install -m 0644 tools/sane-backends.pc %{buildroot}%{_libdir}/pkgconfig/
%changelog
* Mon Sep 10 2012 Nils Philippsen <nils@redhat.com> - 1.0.23-3
- udev: set up for generic user access rules, improve paths
- udev: set up for generic user access rules, improve paths and dependencies
* Tue Sep 04 2012 Nils Philippsen <nils@redhat.com> - 1.0.23-2
- make installed sane-config multi-lib aware again