From db72187dce114196bb7c27e8f3e3a7610ca38dc8 Mon Sep 17 00:00:00 2001 From: lei_ju <983277505@qq.com> Date: Mon, 24 Aug 2020 09:48:09 +0800 Subject: [PATCH] Modify spec file --- cryptacular.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cryptacular.spec b/cryptacular.spec index 3a992cf..b99cf18 100644 --- a/cryptacular.spec +++ b/cryptacular.spec @@ -18,11 +18,13 @@ Cryptacular in a nutshell: ° Components to facilitate strict adherence to standards. ° Comprehensive documentation and examples. -%package javadoc -Summary: Javadoc for %{name} +%package help +Summary: Documents for %{name} +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} -%description javadoc -This package contains javadoc for %{name}. +%description help +This package contains man pages and other related documents for %{name}. %prep %setup -q -n %{name}-%{version} @@ -41,7 +43,7 @@ This package contains javadoc for %{name}. %doc README.md %license LICENSE LICENSE-apache2 LICENSE-lgpl NOTICE -%files javadoc -f .mfiles-javadoc +%files help -f .mfiles-javadoc %license LICENSE LICENSE-apache2 LICENSE-lgpl NOTICE %changelog