[packages/sane-backends] - disable locking as others do (FC); rel 1 since according to logs it works

arekm arekm at pld-linux.org
Wed Sep 24 21:56:59 CEST 2014


commit fba3468aeac02930ba3f3515bd89286fa25205d6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Sep 24 21:56:51 2014 +0200

    - disable locking as others do (FC); rel 1 since according to logs it works

 sane-backends.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/sane-backends.spec b/sane-backends.spec
index f80d757..9273422 100644
--- a/sane-backends.spec
+++ b/sane-backends.spec
@@ -6,7 +6,7 @@
 %bcond_with	libusb0		# libusb 0.1.x API instead of libusb 1.0
 #
 %define		snap	git20140814
-%define		rel	0.1
+%define		rel	1
 #
 Summary:	SANE - easy local and networked scanner access
 Summary(es.UTF-8):	SANE - acceso a scanners en red y locales
@@ -271,7 +271,8 @@ mv -f acinclude.m4.tmp acinclude.m4
 	--enable-pthread \
 	--enable-static \
 	--enable-translations \
-	%{?with_gphoto:--with-gphoto2}
+	%{?with_gphoto:--with-gphoto2} \
+	--disable-locking
 
 %{__make}
 
@@ -284,7 +285,7 @@ cd ..
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,%{_aclocaldir},/var/lock/sane}
+install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,%{_aclocaldir}}
 
 %{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -484,7 +485,6 @@ fi
 %attr(755,root,root) %{_libdir}/sane/libsane-umax1220u.so.*
 %attr(755,root,root) %{_libdir}/sane/libsane-umax_pp.so.*
 %attr(755,root,root) %{_libdir}/sane/libsane-xerox_mfp.so.*
-%dir %attr(775,root,usb) /var/lock/sane
 %{_mandir}/man1/sane-find-scanner.1*
 %{_mandir}/man1/scanimage.1*
 %{_mandir}/man1/gamma4scanimage.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sane-backends.git/commitdiff/fba3468aeac02930ba3f3515bd89286fa25205d6



More information about the pld-cvs-commit mailing list