Accepting request 568494 from devel:libraries:c_c++
- Remove useless byte-compiling for py2 that breaks py3 only build - Update libpfm-python3.patch to fix one stray identation issue (forwarded request 568493 from scarabeus_iv) OBS-URL: https://build.opensuse.org/request/show/568494 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpfm?expand=0&rev=16
This commit is contained in:
commit
a6653a334c
@ -22,7 +22,7 @@ Index: libpfm-4.9.0/python/src/pmu.py
|
||||
+ print(e.info.name, e.info.code)
|
||||
for a in e.attrs():
|
||||
- print '\t\t', a.name, a.code
|
||||
+ print('\t\t', a.name, a.code)
|
||||
+ print('\t\t', a.name, a.code)
|
||||
Index: libpfm-4.9.0/python/sys.py
|
||||
===================================================================
|
||||
--- libpfm-4.9.0.orig/python/sys.py
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 08:52:49 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Remove useless byte-compiling for py2 that breaks py3 only build
|
||||
- Update libpfm-python3.patch to fix one stray identation issue
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 15:52:07 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
@ -122,11 +122,6 @@ pushd python
|
||||
%python_install
|
||||
popd
|
||||
|
||||
# temp hack to fix rpmlint file-contains-buildroot for *.pyc
|
||||
# http://lists.opensuse.org/opensuse-factory/2012-01/msg00235.html
|
||||
find "%{buildroot}/%{python_sitearch}/" -name '*.pyc' -delete
|
||||
python -c 'import compileall; compileall.compile_dir("%{buildroot}%{python_sitearch}/", ddir="%{python_sitearch}/", force=1)'
|
||||
|
||||
%post -n %{vname} -p /sbin/ldconfig
|
||||
%postun -n %{vname} -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user