Skip to content

Commit

Permalink
Bring python singlespec nearer to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Feb 6, 2024
1 parent c1593c9 commit f171207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/libsolv.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f171207

Please sign in to comment.