From d8ef129e904ab64814b89e7413514c2211c6d04a Mon Sep 17 00:00:00 2001 From: Bo Ren Date: Tue, 19 Jul 2022 17:46:58 +0800 Subject: [PATCH] spec: add doc sub package Signed-off-by: Bo Ren --- libmbim.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/libmbim.spec b/libmbim.spec index ad6a22b..7395cf9 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: libmbim Version: 1.26.0 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} Summary: Support library for the Mobile Broadband Interface Model protocol License: LGPLv2+ URL: http://freedesktop.org/software/libmbim @@ -39,6 +40,13 @@ License: GPLv2+ This package contains the utilities that make it easier to use MBIM functionality from the command line. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %autosetup -p1 @@ -63,7 +71,6 @@ make check %files %license COPYING.LIB -%doc NEWS AUTHORS README %{_libdir}/libmbim-glib.so.4* %files devel @@ -80,8 +87,13 @@ make check %{_libexecdir}/mbim-proxy %{_mandir}/man1/mbim* +%files doc +%doc NEWS AUTHORS README %changelog +* Tue Jul 19 2022 Bo Ren - 1.26.0-2.0.1 +- Add doc sub package + * Thu Oct 7 2021 Ana Cabral - 1.26.0-2 - Add Conflicts tag because the bash-completion scripts moved from the main package to the utils sub package causing a file -- Gitee