From a800a56afb379ebd9ddfff5cc075c3baba7c976e Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 29 Sep 2022 18:10:17 +0800 Subject: [PATCH] add doc package --- libXdmcp.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/libXdmcp.spec b/libXdmcp.spec index c933a05..7388c78 100644 --- a/libXdmcp.spec +++ b/libXdmcp.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: X Display Manager Control Protocol library Name: libXdmcp Version: 1.1.3 @@ -17,6 +17,14 @@ BuildRequires: xmlto %description X Display Manager Control Protocol library. +%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 devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} @@ -47,10 +55,13 @@ rm -rf $RPM_BUILD_ROOT%{_docdir} %ldconfig_postun %files -%doc AUTHORS COPYING ChangeLog Wraphelp.README.crypto +%doc COPYING Wraphelp.README.crypto %{_libdir}/libXdmcp.so.6 %{_libdir}/libXdmcp.so.6.0.0 +%files doc +%doc AUTHORS ChangeLog + %files devel %doc README.md %{_includedir}/X11/Xdmcp.h @@ -58,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir} %{_libdir}/pkgconfig/xdmcp.pc %changelog +* Thu Sep 29 2022 mgb01105731 - 1.1.3-2 +- add doc package + * Thu Apr 07 2022 mgb01105731 - 1.1.3-1 - Init from upstream version 1.1.3 -- Gitee