[packages/quickjs] - don't move libdir if libdir is lib (ex. ix86), rel 4
baggins
baggins at pld-linux.org
Sun Feb 20 18:41:05 CET 2022
commit 6b9d82ced0f265535396e7094641a109e05236e0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Feb 20 18:40:15 2022 +0100
- don't move libdir if libdir is lib (ex. ix86), rel 4
quickjs.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/quickjs.spec b/quickjs.spec
index cfddea1..0eb56f3 100644
--- a/quickjs.spec
+++ b/quickjs.spec
@@ -3,7 +3,7 @@ Summary: QuickJS Javascript Engine
Summary(pl.UTF-8): Silnik Javascriptu QuickJS
Name: quickjs
Version: 20210327
-Release: 3
+Release: 4
License: MIT
Group: Libraries
Source0: https://bellard.org/quickjs/%{name}-%{ver}.tar.xz
@@ -61,7 +61,9 @@ install -d $RPM_BUILD_ROOT/%{_libdir}
STRIP=true \
prefix="%{_prefix}"
+%if "%{_lib}" != "lib"
%{__mv} $RPM_BUILD_ROOT/{%{_prefix}/lib,%{_libdir}}/%{name}
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/quickjs.git/commitdiff/6b9d82ced0f265535396e7094641a109e05236e0
More information about the pld-cvs-commit
mailing list