From 7134035c0209e946cdb822a87001c6f11f4f00ba Mon Sep 17 00:00:00 2001 From: chengzihan2 Date: Mon, 24 Aug 2020 14:04:33 +0800 Subject: [PATCH] package init --- apiviz.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apiviz.spec b/apiviz.spec index 89c43e3..003ea29 100644 --- a/apiviz.spec +++ b/apiviz.spec @@ -22,9 +22,11 @@ APIviz is a JavaDoc doclet which extends the Java standard doclet. It generates comprehensive UML-like class and package diagrams for quick understanding of the overall API structure. -%package javadoc -Summary: Javadocs for %{name} -%description javadoc +%package help +Summary: API documentation for %{name} +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} +%description help This package contains the API documentation for %{name}. %prep @@ -44,7 +46,7 @@ find -name '*.jar' -exec rm -f '{}' \; %files -f .mfiles %doc COPYRIGHT.txt LICENSE.jdepend.txt LICENSE.txt NOTICE.txt -%files javadoc -f .mfiles-javadoc +%files help -f .mfiles-javadoc %doc LICENSE.txt %changelog