From 6875aa11f2d8bdddc2edd79c112162bb74a5bd22 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Fri, 30 Sep 2022 18:28:10 +0800 Subject: [PATCH] add doc package --- lzo.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lzo.spec b/lzo.spec index 804b603..edfc43d 100644 --- a/lzo.spec +++ b/lzo.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: lzo Version: 2.10 @@ -20,6 +20,13 @@ Decompression requires no memory. In addition there are slower compression levels achieving a quite competitive compression ratio while still decompressing at this very high speed. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. %package minilzo Summary: Mini version of lzo for apps which don't need the full version @@ -79,9 +86,11 @@ make check test %files %license COPYING -%doc AUTHORS THANKS NEWS %{_libdir}/liblzo2.so.* +%files doc +%doc AUTHORS THANKS NEWS + %files minilzo %license COPYING %doc minilzo/README.LZO @@ -95,6 +104,9 @@ make check test %changelog +* Fri Sep 30 2022 mgb01105731 - 2.10-2 +- add doc package + * Thu Mar 03 2022 Hongwei Qin - 2.10-1 - upstream version 2.10 and fix configure failed - Init for Anolis OS 23 -- Gitee