- Use macro to compile python objects, do not do it by hand
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=283
This commit is contained in:
parent
2c1b809338
commit
041a8b520a
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 25 12:32:43 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Use macro to compile python objects, do not do it by hand
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 27 18:31:07 UTC 2018 - antoine.belvire@opensuse.org
|
Fri Apr 27 18:31:07 UTC 2018 - antoine.belvire@opensuse.org
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ make DESTDIR=%{buildroot} install-swig-py install-swig-pl install-javahl install
|
|||||||
make DESTDIR=%{buildroot} install-ctypes-python
|
make DESTDIR=%{buildroot} install-ctypes-python
|
||||||
# remove csvn .pyc files and recompile them because they contain the $RPM_BUILD_ROOT path:
|
# remove csvn .pyc files and recompile them because they contain the $RPM_BUILD_ROOT path:
|
||||||
find "%{buildroot}%{python_sitelib}/csvn/" -name "*.pyc" | xargs rm -f
|
find "%{buildroot}%{python_sitelib}/csvn/" -name "*.pyc" | xargs rm -f
|
||||||
python "%{py_libdir}/compileall.py" -f -d "%{python_sitelib}/csvn" "%{buildroot}/%{python_sitelib}/csvn"
|
%py_compile %{buildroot}/%{python_sitelib}/csvn
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user