]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Get rid of cmake warning
authorMichael Schroeder <mls@suse.de>
Thu, 25 Jan 2024 15:20:28 +0000 (16:20 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 25 Jan 2024 15:20:28 +0000 (16:20 +0100)
package/libsolv.spec.in

index 9b571e70ff35b20049eeabb7c70ef8b36b65cb8b..9a70c72a06bebd06ed22d8e0c878879468d14de0 100644 (file)
@@ -287,7 +287,7 @@ ln -s repo2solv %{buildroot}/%{_bindir}/repo2solv.sh
 %if %{with python_singlespec}
 %{python_expand 
 pyver=%%python_version
-cmake -U '*PYTHON*' -DENABLE_PYTHON=1 -DPYTHON_VERSION_MAJOR=${pyver%%.*} -DPYTHON_VERSION_MINOR=${pyver#*.}
+cmake -U '*PYTHON*' -DENABLE_PYTHON=1 -DPYTHON_VERSION_MAJOR=${pyver%%.*} -DPYTHON_VERSION_MINOR=${pyver#*.}
 make DESTDIR=%{buildroot} -C bindings/python install
 }
 %python_compileall