From d2638d440ced8c3f208fabfa1e0f09ddc12cdee0 Mon Sep 17 00:00:00 2001 From: liuxiaoping Date: Mon, 18 Jul 2022 14:40:59 +0800 Subject: [PATCH] add doc sub package --- spice.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/spice.spec b/spice.spec index f1c1dd8..4bf9201 100644 --- a/spice.spec +++ b/spice.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: spice Version: 0.14.3 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} Summary: Implements the SPICE protocol Group: User Interface/Desktops License: LGPLv2+ @@ -40,6 +42,8 @@ BuildRequires: git-core BuildRequires: python3-devel BuildRequires: python3-pyparsing python3-six +Requires: glibc + %description The Simple Protocol for Independent Computing Environments (SPICE) is a remote display system built for virtual environments which allows @@ -74,6 +78,13 @@ This package contains the header files, static libraries and development documentation for spice-server. If you like to develop programs using spice-server, you will need to install spice-server-devel. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} @@ -104,7 +115,6 @@ mkdir -p %{buildroot}%{_libexecdir} %files server %{!?_licensedir:%global license %%doc} %license COPYING -%doc README CHANGELOG.md %{_libdir}/libspice-server.so.1* %files server-devel @@ -112,8 +122,13 @@ mkdir -p %{buildroot}%{_libexecdir} %{_libdir}/libspice-server.so %{_libdir}/pkgconfig/spice-server.pc +%files doc +%doc README CHANGELOG.md %changelog +* Mon Jul 18 2022 Xiaoping Liu - 0.14.3-4.0.1 +- Add doc sub package + * Tue Jan 19 2021 Julien Ropé - 0.14.3-4 - Disable client-side renegotiation to prevent potential DoS Resolves: rhbz#1904459 -- Gitee