From 477e6782c427feb9389cdd401e3bbfbb9337e5a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Thu, 2 Apr 2020 12:48:29 +0200 Subject: [PATCH] Fix string quoting for rpm >= 4.16 --- gdl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdl.spec b/gdl.spec index 43e7329..8063f81 100644 --- a/gdl.spec +++ b/gdl.spec @@ -190,7 +190,7 @@ make install DESTDIR=$RPM_BUILD_ROOT # Install the python module in the right location install -d -m 0755 $RPM_BUILD_ROOT/%{python_sitearch} %if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 -%if %{_lib} != "lib" +%if "%{_lib}" != "lib" mv $RPM_BUILD_ROOT%{_prefix}/lib/python*/site-packages/GDL.so \ $RPM_BUILD_ROOT%{python_sitearch}/GDL.so %endif