import libmbim-1.18.2-3.el8

This commit is contained in:
CentOS Sources 2019-11-05 16:27:12 -05:00 committed by Andrew Lukoshko
parent 8413313b60
commit 69a1745be7
3 changed files with 19 additions and 6 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libmbim-1.16.0.tar.xz
SOURCES/libmbim-1.18.2.tar.xz

View File

@ -1 +1 @@
7e09483840fe896df071862371e6650a1834ed1a SOURCES/libmbim-1.16.0.tar.xz
df2fc739d10931554b20fcf222cc3d2f03520b9a SOURCES/libmbim-1.18.2.tar.xz

View File

@ -2,7 +2,7 @@
Name: libmbim
Summary: Support library for the Mobile Broadband Interface Model protocol
Version: 1.16.0
Version: 1.18.2
Release: 3%{?dist}
License: LGPLv2+
URL: http://freedesktop.org/software/libmbim
@ -15,6 +15,7 @@ BuildRequires: automake autoconf libtool
BuildRequires: python3-devel
BuildRequires: pkgconfig(gudev-1.0) >= 147
BuildRequires: gtk-doc
BuildRequires: help2man
%description
@ -43,6 +44,8 @@ functionality from the command line.
%prep
%setup -q
# libmbim-1.18.2 dist contains mis-generated manuals
find docs/man -size 0 -delete
# Fix python shebangs
pathfix.py -i %{__python3} -pn build-aux/mbim-codegen/*.py \
build-aux/mbim-codegen/mbim-codegen
@ -52,12 +55,12 @@ pathfix.py -i %{__python3} -pn build-aux/mbim-codegen/*.py \
V=1 make %{?_smp_mflags}
%install
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
make install INSTALL="install -p" DESTDIR=%{buildroot}
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
%check
find docs/man -size 0 |grep . && exit 1
make check
@ -67,7 +70,8 @@ make check
%files
%doc COPYING NEWS AUTHORS README
%{_libdir}/libmbim-glib.so.*
%{_libdir}/libmbim-glib.so.4*
%exclude %{_libdir}/libmbim-glib.la
%{_datadir}/bash-completion
@ -86,6 +90,15 @@ make check
%changelog
* Thu May 23 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.18.2-3
- Regenerate manuals that are broken in dist
* Wed May 22 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.18.2-2
- A happy little rebuild
* Mon May 06 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.18.2-1
- Update to 1.18.2 release
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.16.0-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)