packages: libfuse/libfuse.spec - rel 2 - libfuse must be in /lib for /sbin/...

baggins baggins at pld-linux.org
Tue Sep 27 18:29:50 CEST 2011


Author: baggins                      Date: Tue Sep 27 16:29:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- libfuse must be in /lib for /sbin/mount.ntfs

---- Files affected:
packages/libfuse:
   libfuse.spec (1.114 -> 1.115) 

---- Diffs:

================================================================
Index: packages/libfuse/libfuse.spec
diff -u packages/libfuse/libfuse.spec:1.114 packages/libfuse/libfuse.spec:1.115
--- packages/libfuse/libfuse.spec:1.114	Sat Sep 17 09:40:05 2011
+++ packages/libfuse/libfuse.spec	Tue Sep 27 18:29:44 2011
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	System plików w przestrzeni użytkownika
 Name:		libfuse
 Version:	2.8.6
-Release:	1
+Release:	2
 Epoch:		0
 License:	GPL v2
 Group:		Applications/System
@@ -104,11 +104,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkgconfigdir},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{/%{_lib},%{_pkgconfigdir},%{_sysconfdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv -f $RPM_BUILD_ROOT%{_libdir}/libfuse.so.* $RPM_BUILD_ROOT/%{_lib}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfuse.so
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libfuse.so.*.*) \
+	$RPM_BUILD_ROOT%{_libdir}/libfuse.so
+
 install fuse.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
 
@@ -128,8 +133,8 @@
 %attr(4754,root,fuse) %{_bindir}/fusermount
 %attr(755,root,root) %{_bindir}/ulockmgr_server
 %attr(755,root,root) /sbin/mount.fuse
-%attr(755,root,root) %{_libdir}/libfuse.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libfuse.so.2
+%attr(755,root,root) /%{_lib}/libfuse.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libfuse.so.2
 %attr(755,root,root) %{_libdir}/libulockmgr.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libulockmgr.so.1
 
@@ -155,6 +160,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.115  2011/09/27 16:29:44  baggins
+- rel 2
+- libfuse must be in /lib for /sbin/mount.ntfs
+
 Revision 1.114  2011/09/17 07:40:05  qboosh
 - updated to 2.8.6
 - force ld.bfd as gold is missing symbol base versioning
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libfuse/libfuse.spec?r1=1.114&r2=1.115&f=u



More information about the pld-cvs-commit mailing list