diff --git a/automake.spec b/automake.spec index 6206171a9317e340f7175892b3aa60781cf45052..08a5b4f35440ad037e776e862190760b744380f8 100644 --- a/automake.spec +++ b/automake.spec @@ -51,6 +51,12 @@ BuildRequires: perl-interpreter BuildRequires: perl(Thread::Queue) BuildRequires: perl(threads) +Provides: /bin/sh +Provides: /usr/bin/perl +Provides: /usr/bin/aclocal +Provides: /usr/bin/aclocal-1.16 +Provides: /usr/bin/automake +Provides: /usr/bin/automake-1.16 BuildArch: noarch # for better tests coverage: @@ -80,6 +86,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 +131,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 +140,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.1 +- Add doc sub package + * Wed Nov 17 2021 Liwei Ge - 1.16.1-7.0.1 - Support loongarch64 platform