+ libpeas-1.22.0-6

Remove python2 loader, all GNOME apps using libpeas were ported to Python3
  when ported to GTK+ 3.x
This commit is contained in:
Bastien Nocera 2018-03-22 11:48:35 +01:00
parent a0d9a95ac1
commit 5ecfd42cfa

View File

@ -8,7 +8,7 @@
Name: libpeas
Version: 1.22.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Plug-ins implementation convenience library
License: LGPLv2+
@ -27,7 +27,6 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(pygobject-3.0)
BuildRequires: python2-devel
%if %{use_python3}
BuildRequires: python3-devel
%endif
@ -44,15 +43,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
libpeas-gtk is a convenience library making adding plug-ins support
to GTK+-based applications.
%package loader-python
Summary: Python 2 loader for libpeas
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python-gobject
%description loader-python
This package contains the Python 2 loader that is needed to
run Python 2 plugins that use libpeas.
%if %{use_python3}
%package loader-python3
Summary: Python 3 loader for libpeas
@ -90,7 +80,6 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/peas-demo
%if %{use_python3}
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-1.0/loaders/libpython3loader.so
%endif
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
@ -113,9 +102,6 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/secondtime/libsecon
%{_libdir}/libpeas-gtk-%{apiver}.so.*
%{_libdir}/girepository-1.0/PeasGtk-%{apiver}.typelib
%files loader-python
%{_libdir}/libpeas-%{apiver}/loaders/libpythonloader.so
%if %{use_python3}
%files loader-python3
%{_libdir}/libpeas-%{apiver}/loaders/libpython3loader.so
@ -138,6 +124,11 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/secondtime/libsecon
%{_datadir}/glade/catalogs/libpeas-gtk.xml
%changelog
* Thu Mar 22 2018 Bastien Nocera <bnocera@redhat.com> - 1.22.0-6
+ libpeas-1.22.0-6
- Remove python2 loader, all GNOME apps using libpeas were ported to Python3
when ported to GTK+ 3.x
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild