use *.desc created udev rules

This commit is contained in:
Nils Philippsen 2006-07-24 15:38:05 +00:00
parent b5f48ecc9d
commit 819f6adebf

View File

@ -157,9 +157,7 @@ rm -f %{buildroot}%{_libdir}/sane/*.a %{buildroot}%{_libdir}/*.a
rm -f %{buildroot}%{_libdir}/libsane*.la %{buildroot}%{_libdir}/sane/*.la rm -f %{buildroot}%{_libdir}/libsane*.la %{buildroot}%{_libdir}/sane/*.la
mkdir -p %{buildroot}/%{_sysconfdir}/udev/rules.d/ mkdir -p %{buildroot}/%{_sysconfdir}/udev/rules.d/
sh tools/udev/convert-usermap.sh tools/hotplug/libsane.usermap sed 's|MODE="660", GROUP="scanner"|SYMLINK+="scanner-%k"|g' tools/udev/libsane.rules > %{buildroot}/%{_sysconfdir}/udev/rules.d/60-libsane.rules
sed 's|MODE="660", GROUP="scanner"|SYMLINK+="scanner-%k"|g' libsane.rules > %{buildroot}/%{_sysconfdir}/udev/rules.d/60-libsane.rules
%find_lang %name %find_lang %name
@ -257,6 +255,7 @@ rm -rf %{buildroot}
- unify spec file between OS releases - unify spec file between OS releases
- update rpath patch - update rpath patch
- remove obsolete newmodels patch - remove obsolete newmodels patch
- use *.desc created udev rules
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.17-13.1 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.17-13.1
- rebuild - rebuild