diff --git a/.gitignore b/.gitignore index c241773..6f1e834 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /libmbim-1.18.2.tar.xz /libmbim-1.20.0.tar.xz /libmbim-1.20.2.tar.xz +/libmbim-1.22.0.tar.xz diff --git a/libmbim.spec b/libmbim.spec index 2fc641f..e719021 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -1,9 +1,9 @@ %global _hardened_build 1 Name: libmbim +Version: 1.22.0 +Release: 1%{?dist} Summary: Support library for the Mobile Broadband Interface Model protocol -Version: 1.20.2 -Release: 2%{?dist} License: LGPLv2+ URL: http://freedesktop.org/software/libmbim Source: http://freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz @@ -46,30 +46,30 @@ functionality from the command line. %prep -%setup -q +%autosetup -p1 %build %configure --disable-static --enable-gtk-doc -V=1 make %{?_smp_mflags} +%{make_build} %install -make install INSTALL="install -p" DESTDIR=%{buildroot} +%{make_install} find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac +find %{buildroot} -type f -name "*.la" -delete %check make check -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -%doc COPYING NEWS AUTHORS README +%license COPYING.LIB +%doc NEWS AUTHORS README %{_libdir}/libmbim-glib.so.4* -%exclude %{_libdir}/libmbim-glib.la %{_datadir}/bash-completion @@ -81,6 +81,7 @@ make check %{_datadir}/gtk-doc/html/libmbim-glib/* %files utils +%license COPYING %{_bindir}/mbimcli %{_bindir}/mbim-network %{_mandir}/man1/* @@ -88,6 +89,11 @@ make check %changelog +* Thu Mar 5 2020 Peter Robinson 1.22.0-1 +- Update to 1.22.0 release +- Fix shipped license, use %%license +- Spec cleanups + * Wed Jan 29 2020 Fedora Release Engineering - 1.20.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 282af0e..229cdc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libmbim-1.20.2.tar.xz) = 83fe2dfb4a813c5aa845ec5c8b674f6a0be0b6ea233c51c47b6345dc50200b0b98300157736f1435fcc5d85dc6588dbf837ab2a5e324511ec35c4da0e1c8c9d0 +SHA512 (libmbim-1.22.0.tar.xz) = ec7ecf1c65dd7b6017cc3e91eadd6700a954065d070640ab97e583b1791cc315133dd6c882f569fff2efe1f56e3766821533c20d814fe7db75aeb0bbcd7ed3ee