Hello community, here is the log from the commit of package libpeas for openSUSE:Factory checked in at 2018-01-16 09:29:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpeas (Old) and /work/SRC/openSUSE:Factory/.libpeas.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libpeas" Tue Jan 16 09:29:16 2018 rev:35 rq:563129 version:1.22.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libpeas/libpeas.changes 2017-09-13 21:46:46.363430970 +0200 +++ /work/SRC/openSUSE:Factory/.libpeas.new/libpeas.changes 2018-01-16 09:29:20.782258565 +0100 @@ -1,0 +2,15 @@ +Mon Jan 8 13:44:23 UTC 2018 - zaitor@opensuse.org + +- Use make_build macro. +- Avoid running fdupes across hardlink boundaries. + +------------------------------------------------------------------- +Mon Jan 8 08:59:30 UTC 2018 - tchvatal@suse.com + +- Update URL to reflect current web, old was 404. +- Run spec-cleaner. +- Fix typo on parallel build command call. +- Conditionalize py2 and py3 build to allow us building of the + one we desire based on codestream. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpeas.spec ++++++ --- /var/tmp/diff_new_pack.qyDNZI/_old 2018-01-16 09:29:21.486225630 +0100 +++ /var/tmp/diff_new_pack.qyDNZI/_new 2018-01-16 09:29:21.490225442 +0100 @@ -1,7 +1,7 @@ # # spec file for package libpeas # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,34 +17,40 @@ %bcond_with lua51 - +%bcond_without python2 +%bcond_without python3 Name: libpeas Version: 1.22.0 Release: 0 Summary: GObject-based Plugin Engine License: LGPL-2.1+ Group: Development/Libraries/GNOME -Url: http://live.gnome.org/Libpeas +Url: https://wiki.gnome.org/Projects/Libpeas # Source based on git _service Source: %{name}-%{version}.tar.xz #Source: http://download.gnome.org/sources/libpeas/1.20/%%{name}-%%{version}.tar.xz BuildRequires: gnome-common BuildRequires: intltool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gio-2.0) >= 2.32.0 +BuildRequires: pkgconfig(gladeui-2.0) +BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 +BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0 +%if %{with python2} +BuildRequires: pkgconfig(python2) >= 2.5.2 +%endif +%if %{with python3} +BuildRequires: pkgconfig(python3) >= 3.2.0 +%endif %if %{with lua51} BuildRequires: lua51-devel >= 5.1.0 BuildRequires: pkgconfig(luajit) >= 2.0 %endif -BuildRequires: python-devel >= 2.5.2 -BuildRequires: python3-devel >= 3.2.0 %if !0%{?is_opensuse} BuildRequires: translation-update-upstream %endif -BuildRequires: pkgconfig(gio-2.0) >= 2.32.0 -BuildRequires: pkgconfig(gladeui-2.0) -BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0 -BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 -BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0 %description libpeas is a gobject-based plugin engine, and is targetted at giving @@ -54,13 +60,13 @@ Summary: GObject-based Plugin Engine # We provide %%{name} to make the lang package installable Group: System/Libraries +Recommends: %{name}-lang +Recommends: %{name}-loader-python +Recommends: %{name}-loader-python3 Provides: %{name} = %{version} # The gjs loader is officially no longer supported upstream (removed from git). # With gjs moving to mozjs-24, it also fails building; so we follow upstream. Obsoletes: %{name}-loader-gjs <= %{version} -Recommends: %{name}-lang -Recommends: %{name}-loader-python -Recommends: %{name}-loader-python3 %description -n libpeas-1_0-0 libpeas is a gobject-based plugin engine, and is targetted at giving @@ -166,6 +172,7 @@ every application the chance to assume its own extensibility. %lang_package + %prep %setup -q %if !0%{?is_opensuse} @@ -181,67 +188,58 @@ --enable-lua5.1 \ %endif %{nil} -make %{?_smp_flag} +%make_build %install %make_install -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print +find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print %find_lang %{name} %{?no_lang_C} %post -n libpeas-1_0-0 -p /sbin/ldconfig - %postun -n libpeas-1_0-0 -p /sbin/ldconfig - %post -n libpeas-gtk-1_0-0 -p /sbin/ldconfig - %postun -n libpeas-gtk-1_0-0 -p /sbin/ldconfig %files -n libpeas-1_0-0 -%defattr(-, root, root) %doc AUTHORS COPYING README %{_libdir}/libpeas-1.0.so.* %dir %{_libdir}/libpeas-1.0 %dir %{_libdir}/libpeas-1.0/loaders %files -n typelib-1_0-Peas-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/Peas-1.0.typelib %files -n libpeas-gtk-1_0-0 -%defattr(-, root, root) %{_libdir}/libpeas-gtk-1.0.so.* # The icon is the default icon shown for loaded plugins without own definition. %{_datadir}/icons/hicolor/*/actions/libpeas-plugin.* %files -n typelib-1_0-PeasGtk-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/PeasGtk-1.0.typelib +%if %{with python2} %files loader-python -%defattr(-, root, root) %{_libdir}/libpeas-1.0/loaders/libpythonloader.so +%endif +%if %{with python3} %files loader-python3 -%defattr(-,root,root) %{_libdir}/libpeas-1.0/loaders/libpython3loader.so +%endif %if %{with lua51} %files loader-lua51 -%defattr(-, root, root) %{_libdir}/libpeas-1.0/loaders/liblua51loader.so %endif %files demo -%defattr(-, root, root) %{_bindir}/peas-demo %{_libdir}/peas-demo/ %files -n glade-catalog-libpeas -%defattr(-,root,root) %{_datadir}/glade/catalogs/libpeas-gtk.xml %files devel -%defattr(-, root, root) %{_datadir}/gtk-doc/html/libpeas/ %{_includedir}/libpeas-1.0/ %{_libdir}/libpeas-1.0.so