diff --git a/json_simple.spec b/json_simple.spec index 0a2a585..e5cd8f9 100644 --- a/json_simple.spec +++ b/json_simple.spec @@ -22,9 +22,11 @@ to encode or decode JSON text. * No dependency on external libraries * Both of the source code and the binary are JDK1.2 compatible -%package javadoc +%package help Summary: API documentation for %{name} -%description javadoc +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} +%description help This package contains %{summary}. %prep @@ -43,9 +45,9 @@ find . -type f -exec %{__sed} -i 's/\r//' {} \; %files -f .mfiles %doc AUTHORS.txt ChangeLog.txt LICENSE.txt README.txt -%files javadoc -f .mfiles-javadoc +%files help -f .mfiles-javadoc %doc LICENSE.txt %changelog -* Mon Aug 3 2020 yanan li - 1.1.1-1 -- Package init +* Mon Aug 24 2020 liyanan - 1.1.1-1 +- package init