From 7b93a37eec2e9e6ee1abc40fc8268541e210ea8f Mon Sep 17 00:00:00 2001 From: liuxiaoping Date: Wed, 20 Jul 2022 11:19:15 +0800 Subject: [PATCH] add doc sub package --- libXau.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libXau.spec b/libXau.spec index 5f8ca33..1debb46 100644 --- a/libXau.spec +++ b/libXau.spec @@ -1,7 +1,9 @@ +%define anolis_release .0.1 + Summary: Sample Authorization Protocol for X Name: libXau Version: 1.0.9 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -33,6 +35,14 @@ BuildRequires: xorg-x11-proto-devel %description devel X.Org X11 libXau development package +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q #patch0 -p1 -b .local @@ -58,7 +68,6 @@ make check %ldconfig_postun %files -%doc AUTHORS COPYING README ChangeLog %{_libdir}/libXau.so.6 %{_libdir}/libXau.so.6.0.0 @@ -68,7 +77,13 @@ make check %{_libdir}/pkgconfig/xau.pc %{_mandir}/man3/*.3* +%files doc +%doc AUTHORS COPYING README ChangeLog + %changelog +* Wed Jul 20 2022 Xiaoping Liu - 1.0.9-3.0.1 +- Add doc sub package + * Wed Jan 29 2020 Fedora Release Engineering - 1.0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -- Gitee