package init

This commit is contained in:
lyn1001 2020-08-24 09:45:41 +08:00
parent 50e7fcd5b9
commit a15dd7271f

View File

@ -11,11 +11,13 @@ BuildArch: noarch
%description %description
Minimal mime type implementation for use with the mail and rest-client gem. Minimal mime type implementation for use with the mail and rest-client gem.
%package doc %package help
Summary: Documentation for %{name} Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description doc Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
Documentation for %{name}. Documentation for %{name}.
%prep %prep
@ -46,7 +48,7 @@ popd
%exclude %{gem_cache} %exclude %{gem_cache}
%{gem_spec} %{gem_spec}
%files doc %files help
%doc %{gem_docdir} %doc %{gem_docdir}
%doc %{gem_instdir}/CODE_OF_CONDUCT.md %doc %{gem_instdir}/CODE_OF_CONDUCT.md
%doc %{gem_instdir}/CHANGELOG %doc %{gem_instdir}/CHANGELOG
@ -55,5 +57,5 @@ popd
%{gem_instdir}/Rakefile %{gem_instdir}/Rakefile
%changelog %changelog
* Wed Aug 12 2020 yanan li <liyanan032@huawei.com> - 1.0.0-1 * Sat Aug 22 2020 liyanan <liyanan32@huawei.com> - 1.0.0-1
- Package init - package init