Hello community, here is the log from the commit of package libqmi for openSUSE:Factory checked in at 2017-11-09 14:01:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqmi (Old) and /work/SRC/openSUSE:Factory/.libqmi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqmi" Thu Nov 9 14:01:53 2017 rev:16 rq:538324 version:1.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libqmi/libqmi.changes 2017-05-27 13:12:22.454322857 +0200 +++ /work/SRC/openSUSE:Factory/.libqmi.new/libqmi.changes 2017-11-09 14:01:55.070108435 +0100 @@ -1,0 +2,6 @@ +Thu Nov 2 09:15:39 UTC 2017 - [email protected] + +- Do not rely on env for python during build +- Run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqmi.spec ++++++ --- /var/tmp/diff_new_pack.XEMgiC/_old 2017-11-09 14:01:56.002074479 +0100 +++ /var/tmp/diff_new_pack.XEMgiC/_new 2017-11-09 14:01:56.006074333 +0100 @@ -1,7 +1,7 @@ # # spec file for package libqmi # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -17,23 +17,24 @@ # -Name: libqmi %define _soname libqmi-glib5 +Name: libqmi Version: 1.18.0 Release: 0 # NOTE: The file headers state LESSER GPL, which is a mistake. The upstream intended license is LIBRARY GPL 2.0+ Summary: Library to control QMI devices -License: LGPL-2.1+ and GPL-2.0+ +License: LGPL-2.1+ AND GPL-2.0+ Group: Hardware/Modem -Url: http://cgit.freedesktop.org/libqmi/ +URL: http://cgit.freedesktop.org/libqmi/ Source0: http://www.freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz Source99: libqmi-rpmlintrc +BuildRequires: python3 +BuildRequires: pkgconfig BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.36 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gudev-1.0) >= 147 BuildRequires: pkgconfig(mbim-glib) >= 1.14 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libqmi is a glib-based library for talking to WWAN modems and devices @@ -73,20 +74,20 @@ %setup -q %build +# Do not rely on env for choosing python +sed -i "s|env python|python3|g" build-aux/qmi-codegen/* %configure \ --disable-static make %{?_smp_mflags} %install %make_install -find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{_soname} -p /sbin/ldconfig - %postun -n %{_soname} -p /sbin/ldconfig %files tools -%defattr(-,root,root) %doc COPYING %{_bindir}/qmi-network %{_bindir}/qmicli @@ -101,12 +102,10 @@ %{_mandir}/man1/qmi-firmware-update.1%{?ext_man} %files -n %{_soname} -%defattr(-,root,root) %doc COPYING.LIB %{_libdir}/libqmi-glib.so.* %files devel -%defattr(-,root,root) %{_datadir}/gtk-doc/html/libqmi-glib/ %{_includedir}/libqmi-glib/ %{_libdir}/libqmi-glib.so
