From 7858423e7a10c52196bea0911a1bc681e9480748 Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Mon, 24 Aug 2020 14:51:13 +0800 Subject: [PATCH] package init --- jopt-simple.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/jopt-simple.spec b/jopt-simple.spec index 3e6af8f..8a04b9b 100644 --- a/jopt-simple.spec +++ b/jopt-simple.spec @@ -13,9 +13,11 @@ BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) JOpt Simple is a Java library for parsing command line options, such as those you might pass to an invocation of javac. -%package javadoc +%package help Summary: Javadoc for %{name} -%description javadoc +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} +%description help This package contains the API documentation for %{name}. %prep @@ -36,9 +38,9 @@ This package contains the API documentation for %{name}. %files -f .mfiles %license LICENSE.txt -%files javadoc -f .mfiles-javadoc +%files help -f .mfiles-javadoc %license LICENSE.txt %changelog -* Sat Aug 1 2020 yanan li - 5.0.4-1 -- Package init +* Mon Aug 24 2020 liyanan - 5.0.4-1 +- package init