| |
@@ -1,18 +1,15 @@
|
| |
%global gem_name spring
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 2.1.1
|
| |
- Release: 4%{?dist}
|
| |
+ Version: 4.0.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Rails application preloader
|
| |
License: MIT
|
| |
URL: https://github.com/rails/spring
|
| |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
| |
- # git clone https://github.com/rails/spring.git && cd spring
|
| |
- # git archive -v -o spring-2.1.1-tests.tar.gz v2.1.1 test/
|
| |
- Source1: %{gem_name}-%{version}-tests.tar.gz
|
| |
- # Fir Ruby 3.0 compatibility.
|
| |
- # https://github.com/rails/spring/pull/632
|
| |
- Patch0: spring-2.1.1-Use-keyword-argument-instead-of-Has-as-optional-argument.patch
|
| |
+ # git clone https://github.com/rails/spring.git --no-checkout
|
| |
+ # git -C spring archive -v -o spring-4.0.0-tests.txz v4.0.0 test/
|
| |
+ Source1: %{gem_name}-%{version}-tests.txz
|
| |
# Needed by `spring status`
|
| |
Requires: %{_bindir}/ps
|
| |
BuildRequires: ruby(release)
|
| |
@@ -41,16 +38,8 @@
|
| |
%prep
|
| |
%setup -q -n %{gem_name}-%{version} -b 1
|
| |
|
| |
- pushd %{_builddir}
|
| |
- %patch0 -p1
|
| |
- popd
|
| |
-
|
| |
%build
|
| |
- # Create the gem as gem install only works on a gem file
|
| |
gem build ../%{gem_name}-%{version}.gemspec
|
| |
-
|
| |
- # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
| |
- # by default, so that we can move it into the buildroot in %%install
|
| |
%gem_install
|
| |
|
| |
%install
|
| |
@@ -87,6 +76,10 @@
|
| |
%doc %{gem_instdir}/README.md
|
| |
|
| |
%changelog
|
| |
+ * Mon Nov 01 2021 Pavel Valena <pvalena@redhat.com> - 4.0.0-1
|
| |
+ - Update to spring 4.0.0.
|
| |
+ Resolves: rhbz#2002484
|
| |
+
|
| |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
| |
|
| |
To have latest spring gem in Fedora.
Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=79442053
Copr build:
https://copr.fedorainfracloud.org/coprs/build/2995095
Checks:
Update log: https://git.io/JM2aA
Test log: https://git.io/JM2ah
gem2rpm diff: https://git.io/JM2aj