[packages/criterion] - rel 2; fix i686 build

arekm arekm at pld-linux.org
Fri Sep 20 15:32:46 CEST 2019


commit aa7e236ba1301a2926823b7c861ad9a8d7b10c67
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Sep 20 15:32:40 2019 +0200

    - rel 2; fix i686 build

 criterion.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/criterion.spec b/criterion.spec
index 88c98c2..ceb55cd 100644
--- a/criterion.spec
+++ b/criterion.spec
@@ -1,7 +1,7 @@
 Summary:	A cross-platform C and C++ unit testing framework for the 21th century
 Name:		criterion
 Version:	2.3.3
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	https://github.com/Snaipe/Criterion/releases/download/v%{version}/%{name}-v%{version}.tar.bz2
@@ -41,8 +41,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_libdir}
-mv $RPM_BUILD_ROOT{%{_prefix}/lib/*,%{_libdir}}
+%if "%{_lib}" != "lib"
+	install -d $RPM_BUILD_ROOT%{_libdir}
+	mv $RPM_BUILD_ROOT{%{_prefix}/lib/*,%{_libdir}}
+%endif
 
 %find_lang Criterion
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/criterion.git/commitdiff/aa7e236ba1301a2926823b7c861ad9a8d7b10c67



More information about the pld-cvs-commit mailing list