commit libgexiv2 for openSUSE:Factory
Hello community, here is the log from the commit of package libgexiv2 for openSUSE:Factory checked in at 2018-02-03 15:38:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgexiv2 (Old) and /work/SRC/openSUSE:Factory/.libgexiv2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libgexiv2" Sat Feb 3 15:38:22 2018 rev:30 rq:572075 version:0.10.6 Changes: -------- --- /work/SRC/openSUSE:Factory/libgexiv2/libgexiv2.changes 2017-07-24 12:31:16.767201101 +0200 +++ /work/SRC/openSUSE:Factory/.libgexiv2.new/libgexiv2.changes 2018-02-03 15:38:23.376897375 +0100 @@ -1,0 +2,16 @@ +Tue Jan 23 12:36:13 UTC 2018 - tchvatal@suse.com + +- Allow to enable/disable building of python2/python3 bindings via + build conditions to accomodate potential python2-less products: + + BuildRequire python-rpm-macros: helper macros from the + python-singlespec initiative. Even though the package can't be + built completley with singlespec due to the additional + libraries, we can still make good use of the helpers. + + Replace python-devel and python3-devel BuildRequires with + python_module devel. + + Replace python-gobject and python3-gobject BuildRequires with + python_module gobjecta. +- Run test suite in %check section. +- Correct URL to point to https://wiki.gnome.org/Projects/gexiv2. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgexiv2.spec ++++++ --- /var/tmp/diff_new_pack.mgJ5Hw/_old 2018-02-03 15:38:24.116862812 +0100 +++ /var/tmp/diff_new_pack.mgJ5Hw/_new 2018-02-03 15:38:24.120862625 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgexiv2 # -# 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,27 +17,28 @@ %define tarname gexiv2 - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 +%bcond_without python3 Name: libgexiv2 Version: 0.10.6 Release: 0 Summary: A GObject-based Exiv2 wrapper License: GPL-2.0+ Group: Development/Libraries/C and C++ -Url: https://wiki.gnome.org/Apps/Shotwell +Url: https://wiki.gnome.org/Projects/gexiv2 Source: http://ftp.gnome.org/pub/gnome/sources/gexiv2/0.10/%{tarname}-%{version}.tar.xz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module gobject} BuildRequires: gcc-c++ BuildRequires: gobject-introspection BuildRequires: libtool -BuildRequires: python-devel -BuildRequires: python-gobject -BuildRequires: python3-devel -BuildRequires: python3-gobject +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(vapigen) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the @@ -101,24 +102,23 @@ make %{?_smp_mflags} %install -%makeinstall LIB=%{_lib} -%__rm %{buildroot}%{_libdir}/libgexiv2.*a +%make_install LIB=%{_lib} +rm %{buildroot}%{_libdir}/libgexiv2.*a -%post -n libgexiv2-2 -p /sbin/ldconfig +%check +make %{?_smp_mflags} check +%post -n libgexiv2-2 -p /sbin/ldconfig %postun -n libgexiv2-2 -p /sbin/ldconfig %files -n libgexiv2-2 -%defattr(-,root,root) %doc AUTHORS COPYING NEWS README THANKS %{_libdir}/libgexiv2.so.* %files -n typelib-1_0-GExiv2-0_10 -%defattr(-,root,root) %{_libdir}/girepository-1.0/GExiv2-0.10.typelib %files devel -%defattr(-,root,root) %{_datadir}/gir-1.0/GExiv2-0.10.gir %doc %{_datadir}/gtk-doc/html/gexiv2/ %{_includedir}/gexiv2/ @@ -128,12 +128,14 @@ %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/gexiv2.vapi +%if %{with python2} %files -n python-gexiv2 -%defattr(-,root,root) %{python_sitearch}/* +%endif +%if %{with python3} %files -n python3-gexiv2 -%defattr(-,root,root) %{python3_sitearch}/* +%endif %changelog
participants (1)
-
root@hilbert.suse.de