From 959f71187ac32e64073b6dbe8d5b80b0fe6acf7c Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 5 Mar 2020 12:34:54 +0000 Subject: [PATCH] 1.24.6, Spec cleanups, fix shipped licenses --- .gitignore | 1 + libqmi.spec | 22 +++++++++++++--------- sources | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 3502de7..e31babc 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /libqmi-1.22.2.tar.xz /libqmi-1.22.4.tar.xz /libqmi-1.24.0.tar.xz +/libqmi-1.24.6.tar.xz diff --git a/libqmi.spec b/libqmi.spec index 605d188..9730510 100644 --- a/libqmi.spec +++ b/libqmi.spec @@ -1,9 +1,9 @@ %global _hardened_build 1 Name: libqmi +Version: 1.24.6 +Release: 1%{?dist} Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol -Version: 1.24.0 -Release: 2%{?dist} License: LGPLv2+ URL: http://freedesktop.org/software/libqmi Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz @@ -45,7 +45,7 @@ from the command line. %prep -%setup -q +%autosetup -p1 %build %configure --disable-static --enable-gtk-doc --enable-mbim-qmux @@ -55,21 +55,20 @@ from the command line. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" make %{?_smp_mflags} V=1 +LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" %{make_build} %install -make install DESTDIR=$RPM_BUILD_ROOT -%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la +%{make_install} +find %{buildroot} -type f -name "*.la" -delete find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files +%license COPYING.LIB %doc NEWS AUTHORS README -%license COPYING %{_libdir}/libqmi-glib.so.* %{_datadir}/bash-completion @@ -82,6 +81,7 @@ find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac %{_datadir}/gtk-doc/html/libqmi-glib/* %files utils +%license COPYING %{_bindir}/qmicli %{_bindir}/qmi-network %{_bindir}/qmi-firmware-update @@ -90,6 +90,10 @@ find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac %changelog +* Thu Mar 5 2020 Peter Robinson 1.24.6-1 +- Update to 1.24.6 +- Spec cleanups, fix shipped licenses + * Wed Jan 29 2020 Fedora Release Engineering - 1.24.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 2268182..bcae810 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libqmi-1.24.0.tar.xz) = e899765e67c1db0f758030e78b296015c476f938bb2afa01594b3e71a0b8d5fc2237c8272497aec891d5555523ecf0fecd69c4d0e14165c07072780621b3b502 +SHA512 (libqmi-1.24.6.tar.xz) = 6c7ba27da94090978d709a30c4ab02479295dbcc2690a6a5157be7d90ee4bc9126c90aaa5f395f9fe44aafd475fd4979066a85e205a19647f36f784829388cdd