package init

This commit is contained in:
lyn1001 2020-08-24 09:30:04 +08:00
parent 070f7e1b89
commit e50c5b2f64

View File

@ -17,11 +17,13 @@ Spring is a Rails application preloader. It speeds up development by keeping
your application running in the background so you don't need to boot it every
time you run a test, rake task or migration.
%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
@ -45,7 +47,7 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
%check
pushd .%{gem_instdir}
tar xf %{SOURCE1}
cd %{gem_name}-%{version}
cd %{gem_name}-%{version}
ruby -Ilib:test -e 'Dir.glob "./test/unit/**/*_test.rb", &method(:require)'
popd
@ -58,10 +60,10 @@ popd
%{gem_spec}
%license %{gem_instdir}/LICENSE.txt
%files doc
%files help
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md
%changelog
* Mon Aug 10 2020 yanan li <liyanan032@huawei.com> - 2.0.0-1
- Package init
* Sat Aug 22 2020 liyanan <liyanan32@huawei.com> - 2.0.0-1
- package init