From 94d08348d7e6731a191f169c641f2e660acc1528 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Wed, 20 Oct 2010 05:31:48 +0200 Subject: [PATCH] move udev helper scripts to /lib/udev (#644552) --- libgphoto2.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libgphoto2.spec b/libgphoto2.spec index 8fe5437..90a7ebc 100644 --- a/libgphoto2.spec +++ b/libgphoto2.spec @@ -1,7 +1,7 @@ Summary: Library for accessing digital cameras Name: libgphoto2 Version: 2.4.10 -Release: 2%{?dist} +Release: 3%{?dist} # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2 License: GPLv2+ and GPLv2 Group: Development/Libraries @@ -84,6 +84,7 @@ sed 's/Name: gphoto2/Name: gphoto2-port/' < gphoto2.pc.in > gphoto2-port.pc.in %build %configure \ + udevscriptdir='/lib/udev' \ --with-drivers=all \ --with-doc-dir=%{_docdir}/%{name} \ --disable-static \ @@ -146,8 +147,8 @@ rm -rf "${RPM_BUILD_ROOT}" %{_libdir}/*.so.* %{_datadir}/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi /lib/udev/rules.d/40-libgphoto2.rules -%{_libdir}/udev/check-ptp-camera -%{_libdir}/udev/check-mtp-device +/lib/udev/check-ptp-camera +/lib/udev/check-mtp-device %post -p /sbin/ldconfig @@ -165,6 +166,9 @@ rm -rf "${RPM_BUILD_ROOT}" %{_mandir}/man3/* %changelog +* Wed Oct 20 2010 Jindrich Novy 2.4.10-3 +- move udev helper scripts to /lib/udev (#644552) + * Tue Sep 06 2010 Jindrich Novy 2.4.10-2 - BR: gd-devel because of ax203 and st2205 camlibs (#630570)