[packages/owncloudclient] move ocsync lib to standard dir

glen glen at pld-linux.org
Tue Apr 12 20:07:48 CEST 2016


commit a054015a4527e640db087b8b1c878be05f7317c2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 12 21:07:43 2016 +0300

    move ocsync lib to standard dir

 owncloudclient.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/owncloudclient.spec b/owncloudclient.spec
index f61482b..63ba909 100644
--- a/owncloudclient.spec
+++ b/owncloudclient.spec
@@ -12,7 +12,7 @@
 Summary:	The ownCloud client
 Name:		owncloudclient
 Version:	2.1.1
-Release:	0.13
+Release:	0.14
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	https://download.owncloud.com/desktop/stable/%{name}-%{version}.tar.xz
@@ -130,6 +130,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# owncloud client links without rpath
+mv $RPM_BUILD_ROOT%{_libdir}/owncloud/libocsync.so* $RPM_BUILD_ROOT%{_libdir}
+
 %if %{with nautilus}
 # nemo not in pld
 %{__rm} $RPM_BUILD_ROOT%{_datadir}/nemo-python/extensions/syncstate.py*
@@ -177,14 +180,14 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libowncloudsync.so.*.*.*
 %ghost %{_libdir}/libowncloudsync.so.0
-%attr(755,root,root) %{_libdir}/owncloud/libocsync.so.*.*.*
-%ghost %{_libdir}/owncloud/libocsync.so.0
+%attr(755,root,root) %{_libdir}/libocsync.so.*.*.*
+%ghost %{_libdir}/libocsync.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/owncloudsync
 %{_libdir}/libowncloudsync.so
-%{_libdir}/owncloud/libocsync.so
+%{_libdir}/libocsync.so
 
 %if %{with nautilus}
 %files nautilus
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/owncloudclient.git/commitdiff/a054015a4527e640db087b8b1c878be05f7317c2



More information about the pld-cvs-commit mailing list