update udev hwdb on installation/removal

This commit is contained in:
Nils Philippsen 2013-10-16 16:00:43 +02:00
parent 668e684fa9
commit 875a503756

View File

@ -37,7 +37,7 @@
Summary: Scanner access software
Name: sane-backends
Version: 1.0.24
Release: 1%{?dist}
Release: 2%{?dist}
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
# Tools are GPLv2+, docs are public domain
# see LICENSE for details
@ -235,6 +235,12 @@ popd
%find_lang %name
%post
udevadm hwdb --update >/dev/null 2>&1 || :
%postun
udevadm hwdb --update >/dev/null 2>&1 || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
@ -283,11 +289,14 @@ popd
%{_libdir}/sane/*gphoto2.so*
%changelog
* Wed Oct 16 2013 Nils Philippsen <nils@redhat.com> - 1.0.24-2
- update udev hwdb on installation/removal
* Wed Oct 09 2013 Nils Philippsen <nils@redhat.com> - 1.0.24-1
- version 1.0.24
- use (hopefully stable) Alioth download URL
- update udev patch, remove obsolete patches
- use udev uwdb instead of huge rulesets
- use udev hwdb instead of huge rulesets
* Mon Sep 09 2013 Nils Philippsen <nils@redhat.com> - 1.0.23-18
- build against libusb-1.0 on Fedora >= 18 (#1003193)