Fix string quoting for rpm >= 4.16

This commit is contained in:
Björn Esser 2020-04-02 12:48:29 +02:00
parent 64ff69bae5
commit 477e6782c4
No known key found for this signature in database
GPG Key ID: F52E98007594C21D
1 changed files with 1 additions and 1 deletions

View File

@ -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