[packages/avogadro] - only move libmsym if needed - rel 4

baggins baggins at pld-linux.org
Fri Apr 14 10:39:40 CEST 2017


commit 1b4a3b9def1a6737d42c525e2fe96328533fe4d4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Apr 14 10:39:25 2017 +0200

    - only move libmsym if needed
    - rel 4

 avogadro.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/avogadro.spec b/avogadro.spec
index 9458dc5..4e2f1b8 100644
--- a/avogadro.spec
+++ b/avogadro.spec
@@ -1,7 +1,7 @@
 Summary:	An advanced molecular editor for chemical purposes
 Name:		avogadro
 Version:	1.2.0
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Applications/Editors
 Source0:	http://downloads.sourceforge.net/avogadro/%{name}-%{version}.tar.gz
@@ -83,7 +83,9 @@ install -d $RPM_BUILD_ROOT%{_datadir}/qt4/mkspecs/features
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%if "%{_lib}" != "lib"
 %{__mv} $RPM_BUILD_ROOT{%{_prefix}/lib,%{_libdir}}/libmsym.so
+%endif
 
 %post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/avogadro.git/commitdiff/1b4a3b9def1a6737d42c525e2fe96328533fe4d4



More information about the pld-cvs-commit mailing list