diff --git a/automake.spec b/automake.spec index 6206171a9317e340f7175892b3aa60781cf45052..30f87a5ea48be42cc1a96bd2b9a1575c675089eb 100644 --- a/automake.spec +++ b/automake.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %global api_version 1.16 # run "make check" by default @@ -51,6 +51,7 @@ BuildRequires: perl-interpreter BuildRequires: perl(Thread::Queue) BuildRequires: perl(threads) +Provides: /usr/bin/automake BuildArch: noarch # for better tests coverage: @@ -80,6 +81,14 @@ You should install Automake if you are developing software and would like to use its ability to automatically generate GNU standard Makefiles. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. %prep %autosetup -p1 @@ -117,7 +126,6 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \ %files %license COPYING* -%doc AUTHORS README THANKS NEWS README.aclocal README.multilib %doc %{_pkgdocdir}/amhello-1.0.tar.gz %exclude %{_infodir}/dir %exclude %{_datadir}/aclocal @@ -127,8 +135,13 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \ %{_datadir}/aclocal-%{api_version} %{_mandir}/man1/* +%files doc +%doc AUTHORS README THANKS NEWS README.aclocal README.multilib %changelog +* Fri Jul 15 2022 mgb01105731 - 1.16.1-7.0.2 +- Add doc sub package + * Wed Nov 17 2021 Liwei Ge - 1.16.1-7.0.1 - Support loongarch64 platform