forked from pool/createrepo_c
Accepting request 1067638 from home:dziobian
- Precompile the python bytecode to avoid lingering files on package removal. OBS-URL: https://build.opensuse.org/request/show/1067638 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/createrepo_c?expand=0&rev=65
This commit is contained in:
parent
7c60868bd6
commit
1ecda11337
@ -1,3 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 24 16:13:36 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||
- Precompile the python bytecode to avoid lingering files on package removal.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 22 10:09:43 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||
|
||||
|
@ -208,6 +208,11 @@ done
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%fdupes build/doc/html
|
||||
|
||||
%if %{with python3}
|
||||
%python_compileall
|
||||
%fdupes %{buildroot}%{python3_sitearch}
|
||||
%endif
|
||||
|
||||
%if %{with as_createrepo}
|
||||
%pre
|
||||
if [ -e %{_sysconfdir}/alternatives/createrepo ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user