From 16c218d4c50c550377602e1063bf3d784044cd32 Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: May 11 2005 05:08:17 +0000 Subject: Move __init__.py* files from lib to _libdir on multilibarchs --- diff --git a/gstreamer-python.spec b/gstreamer-python.spec index 194de96..f5ed83e 100644 --- a/gstreamer-python.spec +++ b/gstreamer-python.spec @@ -4,7 +4,7 @@ Name: %{gstreamer}-python Version: 0.8.1 -Release: 3 +Release: 5 Summary: Python bindings for GStreamer. Group: Development/Languages @@ -53,6 +53,11 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT %makeinstall +# The __init__.py* files go into lib instead of lib64, so fix that +if [ "%{_lib}" != "lib" ]; then + %{__mv} %{buildroot}%{_prefix}/lib/python?.?/site-packages/gst/__init__.* \ + %{buildroot}%{_libdir}/python?.?/site-packages/gst/ +fi find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %clean @@ -71,6 +76,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/gst-python-0.8.pc %changelog +* Tue May 10 2005 Thorsten Leemhuis - 0.8.1-5 +- Move __init__.py* files from lib to _libdir on multilibarchs + Found in thias spec file, fixes x86_64 + * Fri Apr 1 2005 Michael Schwendt - 0.8.1-3 - include missing directories