diff --git a/rubygem-bcrypt.spec b/rubygem-bcrypt.spec index 7bd2d09..34593b0 100644 --- a/rubygem-bcrypt.spec +++ b/rubygem-bcrypt.spec @@ -15,11 +15,13 @@ bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project for hashing passwords. bcrypt-ruby provides a simple, humane wrapper for safely handling passwords. -%package doc +%package help Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch -%description doc +Provides: %{name}-doc = %{version}-%{release} +Obsoletes: %{name}-doc < %{version}-%{release} +%description help Documentation for %{name}. %prep @@ -51,7 +53,7 @@ popd %exclude %{gem_cache} %{gem_spec} -%files doc +%files help %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG %{gem_instdir}/Gemfile* @@ -61,5 +63,5 @@ popd %{gem_instdir}/spec %changelog -* Wed Aug 12 2020 yanan li - 3.1.12-1 -- Package init +* Sat Aug 22 2020 liyanan - 3.1.12-1 +- package init