diff --git a/sgml-common.spec b/sgml-common.spec index ef88b7c56e400201d2ce2854aa9c461ce0db95ef..38c2a39619d42a485a537385510786be38280e58 100644 --- a/sgml-common.spec +++ b/sgml-common.spec @@ -1,8 +1,9 @@ +%define anolis_release .0.1 %global xmlxsdver 2009/01 Name: sgml-common Version: 0.6.3 -Release: 50%{?dist} +Release: 50%{anolis_release}%{?dist} Group: Applications/Text Summary: Common SGML catalog and DTD files @@ -37,6 +38,8 @@ BuildRequires: libxml2 BuildRequires: automake Requires: %{_bindir}/basename +Provides: /usr/bin/install-catalog + %description The sgml-common package contains a collection of entities and DTDs that are useful for processing SGML, but that don't need to be @@ -54,6 +57,14 @@ The xml-common is a subpackage of sgml-common which contains a collection XML catalogs that are useful for processing XML, but that don't need to be included in main package. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q %patch0 -p1 -b .umask @@ -181,7 +192,6 @@ fi %{_mandir}/man5/sgml.conf.5* %files -n xml-common -%doc AUTHORS NEWS ChangeLog COPYING README %dir %{_sysconfdir}/xml %dir %{_sysconfdir}/sgml %dir %{_sysconfdir}/sgml/docbook @@ -196,7 +206,13 @@ fi %{_datadir}/xml/XMLSchema.dtd %{_datadir}/xml/datatypes.dtd +%files doc +%doc AUTHORS NEWS ChangeLog COPYING README + %changelog +* Sun Jul 17 2022 Xiaoping Liu - 0.6.3-50.0.1 +- Add doc sub package + * Fri Oct 05 2018 Ondrej Vasik - 0.6.3-50 - add basic manpages for sgml.conf(5) and sgmlwhich(1) (#1613279)