Update to 4.1.3
This commit is contained in:
parent
2cf80e7991
commit
6df8349fdc
@ -1,13 +1,14 @@
|
|||||||
%bcond_with bootstrap
|
|
||||||
%global gem_name spring
|
%global gem_name spring
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 2.0.0
|
Version: 4.1.3
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Rails application preloader
|
Summary: Rails application preloader
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/rails/spring
|
URL: https://github.com/rails/spring
|
||||||
Source0: https://rubygems.org/gems/spring-%{version}.gem
|
Source0: https://rubygems.org/gems/spring-%{version}.gem
|
||||||
Source1: https://github.com/rails/spring/archive/v%{version}.tar.gz
|
# git clone https://github.com/rails/spring.git && cd spring
|
||||||
|
# git archive -v -o spring-4.1.3-tests.tar.gz v4.1.3 test/
|
||||||
|
Source1: %{gem_name}-%{version}-tests.tar.gz
|
||||||
Requires: ruby(release) ruby(rubygems) %{_bindir}/ps
|
Requires: ruby(release) ruby(rubygems) %{_bindir}/ps
|
||||||
BuildRequires: ruby(release) rubygems-devel rubygem(minitest) rubygem(bundler)
|
BuildRequires: ruby(release) rubygems-devel rubygem(minitest) rubygem(bundler)
|
||||||
BuildRequires: rubygem(activesupport)
|
BuildRequires: rubygem(activesupport)
|
||||||
@ -28,12 +29,10 @@ Obsoletes: %{name}-doc < %{version}-%{release}
|
|||||||
Documentation for %{name}
|
Documentation for %{name}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
gem unpack %{SOURCE0}
|
%setup -q -n %{gem_name}-%{version} -b 1
|
||||||
%setup -q -D -T -n %{gem_name}-%{version}
|
|
||||||
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gem build %{gem_name}.gemspec
|
gem build ../%{gem_name}-%{version}.gemspec
|
||||||
%gem_install
|
%gem_install
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -45,14 +44,11 @@ cp -pa .%{_bindir}/* \
|
|||||||
%{buildroot}%{_bindir}/
|
%{buildroot}%{_bindir}/
|
||||||
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||||
|
|
||||||
%if %{with bootstrap}
|
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
tar xf %{SOURCE1}
|
ln -s %{_builddir}/test test
|
||||||
cd %{gem_name}-%{version}
|
ruby -Ilib -e 'Dir.glob "./test/unit/**/*_test.rb", &method(:require)'
|
||||||
ruby -Ilib:test -e 'Dir.glob "./test/unit/**/*_test.rb", &method(:require)'
|
|
||||||
popd
|
popd
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
@ -68,6 +64,9 @@ popd
|
|||||||
%doc %{gem_instdir}/README.md
|
%doc %{gem_instdir}/README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 17 2024 liyanan <liyanan61@h-partners.com> - 4.1.3-1
|
||||||
|
- Update to 4.1.3
|
||||||
|
|
||||||
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 2.0.0-2
|
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 2.0.0-2
|
||||||
- fix build fail
|
- fix build fail
|
||||||
|
|
||||||
|
|||||||
BIN
spring-2.0.0.gem
BIN
spring-2.0.0.gem
Binary file not shown.
BIN
spring-4.1.3-tests.tar.gz
Normal file
BIN
spring-4.1.3-tests.tar.gz
Normal file
Binary file not shown.
BIN
spring-4.1.3.gem
Normal file
BIN
spring-4.1.3.gem
Normal file
Binary file not shown.
BIN
v2.0.0.tar.gz
BIN
v2.0.0.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user