From 0e4b13cd04301f12979137b2ca6c6dff5d3802c0592adba5f70f0bd1d9717990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Wed, 20 Nov 2013 13:40:58 +0000 Subject: [PATCH] adapt to python-3.3, which no longer looks at XXXmodule.so OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=307 --- python3-rpm.spec | 4 +++- rpm-python.changes | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python3-rpm.spec b/python3-rpm.spec index c9440ad..6aea619 100644 --- a/python3-rpm.spec +++ b/python3-rpm.spec @@ -59,7 +59,9 @@ mkdir -p %{buildroot}%{_prefix}/lib %make_install find %{buildroot} -not -type d -and -not -path %{buildroot}%{_libdir}/python3*/site-packages/rpm/\* -print0 | xargs -0 rm pushd %{buildroot}/%{_libdir}/python3*/site-packages/rpm -rm -f _rpmmodule.a _rpmmodule.la +rm -f _rpm*.la _rpm*.a +# python3 no longer looks at "XXXmodule.so" +for i in _rpm*module.so ; do mv $i ${i%module.so}.so; done python3 %{_libdir}/python3*/py_compile.py *.py python3 -O %{_libdir}/python3*/py_compile.py *.py popd diff --git a/rpm-python.changes b/rpm-python.changes index 9540efc..032e80b 100644 --- a/rpm-python.changes +++ b/rpm-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 20 14:41:34 CET 2013 - mls@suse.de + +- adapt to python-3.3, which no longer looks at XXXmodule.so + ------------------------------------------------------------------- Fri Jul 12 15:36:43 CEST 2013 - mls@suse.de