From: Michael Schroeder Date: Tue, 6 Feb 2024 14:01:11 +0000 (+0100) Subject: Bring python singlespec nearer to the documentation X-Git-Tag: 0.7.29~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f171207cd330e52179e2125a8b180b522b722b0d;p=thirdparty%2Flibsolv.git Bring python singlespec nearer to the documentation --- diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index 89a885a5..434dabf5 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -285,8 +285,8 @@ ln -s repo2solv %{buildroot}/%{_bindir}/repo2solv.sh %endif %endif %if %{with python_singlespec} -%{python_expand -pyver=%%python_version +%{python_expand # +pyver=%{$python_version} cmake . -U '*PYTHON*' -DENABLE_PYTHON=1 -DPYTHON_VERSION_MAJOR=${pyver%%.*} -DPYTHON_VERSION_MINOR=${pyver#*.} make DESTDIR=%{buildroot} -C bindings/python clean make DESTDIR=%{buildroot} -C bindings/python install