diff --git a/libpeas.spec b/libpeas.spec index 4dc9a61..877003d 100644 --- a/libpeas.spec +++ b/libpeas.spec @@ -8,13 +8,14 @@ Name: libpeas Version: 1.20.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Plug-ins implementation convenience library License: LGPLv2+ URL: https://wiki.gnome.org/Projects/Libpeas Source0: https://download.gnome.org/sources/%{name}/1.20/%{name}-%{version}.tar.xz +BuildRequires: chrpath BuildRequires: gcc BuildRequires: make BuildRequires: intltool @@ -80,7 +81,17 @@ that are needed to write applications that use libpeas. %install %make_install + find %{buildroot}%{_libdir} -type f -name '*.la' -print -delete + +# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/peas-demo +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-1.0/loaders/libpython3loader.so +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-1.0/loaders/libpythonloader.so +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-gtk-1.0.so +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/helloworld/libhelloworld.so +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/secondtime/libsecondtime.so + %find_lang libpeas %post @@ -134,6 +145,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_datadir}/glade/catalogs/libpeas-gtk.xml %changelog +* Thu Nov 24 2016 Kalev Lember - 1.20.0-3 +- Remove lib64 rpaths + * Tue Nov 08 2016 Igor Gnatenko - 1.20.0-2 - Trivial fixes in spec - disable silent building