- only move libmsym if needed auto/th/avogadro-1.2.0-4
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 14 Apr 2017 08:39:25 +0000 (10:39 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 14 Apr 2017 08:39:25 +0000 (10:39 +0200)
- rel 4

avogadro.spec

index 9458dc5..4e2f1b8 100644 (file)
@@ -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
This page took 0.218699 seconds and 4 git commands to generate.