Skip to content

Commit

Permalink
Add 'make clean' in singlespec build
Browse files Browse the repository at this point in the history
This seems to be unneeded as the Makefile written by cmake
automatically detects that it needs to rebuild if a different
python version is used. But just be be on the safe side...
  • Loading branch information
mlschroe committed Jan 26, 2024
1 parent 719a368 commit f7a3789
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/libsolv.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ ln -s repo2solv %{buildroot}/%{_bindir}/repo2solv.sh
%{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
}
%python_compileall
Expand Down

0 comments on commit f7a3789

Please sign in to comment.