Update to 1.24.8

This commit is contained in:
Lubomir Rintel 2020-03-24 15:52:26 +01:00
parent 959f71187a
commit 5a4072a576
3 changed files with 17 additions and 11 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
/libqmi-1.22.4.tar.xz /libqmi-1.22.4.tar.xz
/libqmi-1.24.0.tar.xz /libqmi-1.24.0.tar.xz
/libqmi-1.24.6.tar.xz /libqmi-1.24.6.tar.xz
/libqmi-1.24.8.tar.xz

View File

@ -1,7 +1,7 @@
%global _hardened_build 1 %global _hardened_build 1
Name: libqmi Name: libqmi
Version: 1.24.6 Version: 1.24.8
Release: 1%{?dist} Release: 1%{?dist}
Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol
License: LGPLv2+ License: LGPLv2+
@ -11,11 +11,7 @@ Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: glib2-devel >= 2.32.0 BuildRequires: glib2-devel >= 2.32.0
BuildRequires: pkgconfig(gudev-1.0) >= 147 BuildRequires: pkgconfig(gudev-1.0) >= 147
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
BuildRequires: python
%else
BuildRequires: python3 BuildRequires: python3
%endif
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: libmbim-devel >= 1.18.0 BuildRequires: libmbim-devel >= 1.18.0
@ -34,6 +30,7 @@ Requires: pkgconfig
This package contains the header and pkg-config files for development This package contains the header and pkg-config files for development
applications using QMI functionality from applications that use glib. applications using QMI functionality from applications that use glib.
%package utils %package utils
Summary: Utilities to use the QMI protocol from the command line Summary: Utilities to use the QMI protocol from the command line
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -47,6 +44,7 @@ from the command line.
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux %configure --disable-static --enable-gtk-doc --enable-mbim-qmux
@ -55,11 +53,12 @@ from the command line.
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 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 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} LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" %{make_build}
%install %install
%{make_install} %make_install
find %{buildroot} -type f -name "*.la" -delete
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
@ -67,10 +66,12 @@ find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
%files %files
%{_libdir}/libqmi-glib.so.*
%exclude %{_libdir}/libqmi-glib.la
%{_datadir}/bash-completion
%license COPYING.LIB %license COPYING.LIB
%doc NEWS AUTHORS README %doc NEWS AUTHORS README
%{_libdir}/libqmi-glib.so.*
%{_datadir}/bash-completion
%files devel %files devel
%dir %{_includedir}/libqmi-glib %dir %{_includedir}/libqmi-glib
@ -80,16 +81,20 @@ find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
%dir %{_datadir}/gtk-doc/html/libqmi-glib %dir %{_datadir}/gtk-doc/html/libqmi-glib
%{_datadir}/gtk-doc/html/libqmi-glib/* %{_datadir}/gtk-doc/html/libqmi-glib/*
%files utils %files utils
%license COPYING
%{_bindir}/qmicli %{_bindir}/qmicli
%{_bindir}/qmi-network %{_bindir}/qmi-network
%{_bindir}/qmi-firmware-update %{_bindir}/qmi-firmware-update
%{_mandir}/man1/* %{_mandir}/man1/*
%{_libexecdir}/qmi-proxy %{_libexecdir}/qmi-proxy
%license COPYING
%changelog %changelog
* Tue Mar 24 2020 Lubomir Rintel <lkundrak@v3.sk> - 1.24.8
- Update to 1.24.8
* Thu Mar 5 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1.24.6-1 * Thu Mar 5 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1.24.6-1
- Update to 1.24.6 - Update to 1.24.6
- Spec cleanups, fix shipped licenses - Spec cleanups, fix shipped licenses

View File

@ -1 +1 @@
SHA512 (libqmi-1.24.6.tar.xz) = 6c7ba27da94090978d709a30c4ab02479295dbcc2690a6a5157be7d90ee4bc9126c90aaa5f395f9fe44aafd475fd4979066a85e205a19647f36f784829388cdd SHA512 (libqmi-1.24.8.tar.xz) = b60ac355792373afbb202b2791c641468b48a1e54e5f34336fe37fa799c24ac566d6070ba4faaaf6b5693ae2bb5cc75c1240c7f2ee04c8e35eeeb66ec2677093