Remove lib64 rpaths (#817701)

This commit is contained in:
Kalev Lember 2012-11-12 21:12:54 +01:00
parent 0e5eae1099
commit fa2b0f5c07

View File

@ -22,7 +22,7 @@
Name: pygobject3
Version: 3.7.1
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+ and MIT
Group: Development/Languages
Summary: Python 2 bindings for GObject Introspection
@ -74,6 +74,7 @@ Patch4: property-lookup.patch
### Build Dependencies ###
BuildRequires: chrpath
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
BuildRequires: python2-devel >= %{python2_version}
@ -178,12 +179,16 @@ export PYTHON
make DESTDIR=$RPM_BUILD_ROOT install %{verbosity}
popd
chrpath --delete $RPM_BUILD_ROOT%{python3_sitearch}/gi/{*.so,*/*.so}
%endif # with_python3
make DESTDIR=$RPM_BUILD_ROOT install %{verbosity}
find $RPM_BUILD_ROOT -name '*.la' -delete
find $RPM_BUILD_ROOT -name '*.a' -delete
chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/gi/{*.so,*/*.so}
%check
%if %{with_check}
@ -242,6 +247,9 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check %{verbosity}
%endif # with_python3
%changelog
* Mon Nov 12 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.1-2
- Remove lib64 rpaths (#817701)
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.1-1
- Update to 3.7.1