Update to 1.30.2

Resolves: rhbz#2001064

Signed-off-by: Wen Liang <wenliang@redhat.com>
This commit is contained in:
Wen Liang 2021-09-07 13:20:14 -04:00
parent 04703d83ef
commit e172629484
2 changed files with 17 additions and 19 deletions

View File

@ -1,6 +1,6 @@
Name: libqmi
Version: 1.26.8
Release: 4%{?dist}
Version: 1.30.2
Release: 1%{?dist}
Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol
License: LGPLv2+
URL: http://freedesktop.org/software/libqmi
@ -8,9 +8,11 @@ Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: glib2-devel >= 2.48.0
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: pkgconfig(gudev-1.0) >= 147
BuildRequires: libmbim-devel >= 1.18.0
#BuildRequires: libqrtr-glib-devel
BuildRequires: make
BuildRequires: python3
@ -46,19 +48,13 @@ from the command line.
%build
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux
# Uses private copy of libtool:
# http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
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
# Without rpath, the GI toolings need a little help to find libqmi-glib.so.*
LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" %{make_build}
%{make_build} V=1
%install
%make_install
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
find %{buildroot} -type f -name "*.la" -delete
%ldconfig_scriptlets
@ -68,29 +64,31 @@ find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
%license COPYING.LIB
%doc NEWS AUTHORS README
%{_libdir}/libqmi-glib.so.*
%exclude %{_libdir}/libqmi-glib.la
%{_datadir}/bash-completion
%{_libdir}/girepository-1.0/Qmi-1.0.typelib
%files devel
%dir %{_includedir}/libqmi-glib
%{_includedir}/libqmi-glib/*.h
%{_includedir}/libqmi-glib/
%{_libdir}/pkgconfig/qmi-glib.pc
%{_libdir}/libqmi-glib.so
%dir %{_datadir}/gtk-doc/html/libqmi-glib
%{_datadir}/gtk-doc/html/libqmi-glib/*
%{_datadir}/gtk-doc/html/libqmi-glib/
%{_datadir}/gir-1.0/Qmi-1.0.gir
%files utils
%license COPYING
%{_bindir}/qmicli
%{_bindir}/qmi-network
%{_bindir}/qmi-firmware-update
%{_mandir}/man1/*
%{_datadir}/bash-completion
%{_libexecdir}/qmi-proxy
%license COPYING
%{_mandir}/man1/*
%changelog
* Tue Sep 07 2021 Wen Liang <wenliang@redhat.com> - 1.30.2-1
- Update to 1.30.2
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.26.8-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

View File

@ -1 +1 @@
SHA512 (libqmi-1.26.8.tar.xz) = f04633b7f514a1189e2450f0e1bd4137a7300fb12c5873adb58943bdd7b5ab0168dcfe5b91b06fb152b1b484897c827a4334cdc350d654b074ee9c6deb9bf7a1
SHA512 (libqmi-1.30.2.tar.xz) = e34e9cb4b49df6eac555e6493cfc89aaf6f9be3fbfb0b19a5fb6b69c81768fda499a6438b1a4f39b84a350899721c6a04c4195985077ac35da0036794bc59367