Created
November 30, 2021 17:26
-
-
Save pvalena/4e6d9ab2d8dafb8097110dcc3249cd3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4 | |
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112. | |
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4 | |
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112. | |
Compared versions: ["2.1.1", "3.1.1"] | |
DIFFERENT required_ruby_version: | |
2.1.1: >= 2.4.0 | |
3.1.1: >= 2.5.0 | |
commit 7041e86fd7a8db5585c71e79e5bdc49207cbeff6 | |
Author: Pavel Valena <pvalena@redhat.com> | |
Date: Mon Nov 1 03:30:21 2021 +0100 | |
Update to spring 3.1.1 | |
also enhance *.spec and .gitinore files. | |
Resolves: rhbz#2002484 | |
diff --git a/.gitignore b/.gitignore | |
index de7ac7f..66f4ae5 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1,11 +1,2 @@ | |
-/spring-1.1.2.gem | |
-/spring-1.1.3.gem | |
-/rubygem-spring-1.3.6-tests.tar.gz | |
-/spring-1.3.6.gem | |
-/spring-1.4.0.gem | |
-/rubygem-spring-1.7.2-tests.tar.gz | |
-/spring-1.7.2.gem | |
-/rubygem-spring-2.0.0-tests.tar.gz | |
-/spring-2.0.0.gem | |
-/spring-2.1.1-tests.tar.gz | |
-/spring-2.1.1.gem | |
+/spring-*.gem | |
+/spring-*-tests.tar.gz | |
diff --git a/rubygem-spring.spec b/rubygem-spring.spec | |
index e35f0d4..f10dd90 100644 | |
--- a/rubygem-spring.spec | |
+++ b/rubygem-spring.spec | |
@@ -1,18 +1,15 @@ | |
%global gem_name spring | |
Name: rubygem-%{gem_name} | |
-Version: 2.1.1 | |
-Release: 4%{?dist} | |
+Version: 3.1.1 | |
+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/ | |
+# git clone https://github.com/rails/spring.git --no-checkout | |
+# git -C spring archive -v -o spring-3.1.1-tests.tar.gz v3.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 | |
# Needed by `spring status` | |
Requires: %{_bindir}/ps | |
BuildRequires: ruby(release) | |
@@ -41,16 +38,8 @@ Documentation for %{name}. | |
%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 @@ popd | |
%doc %{gem_instdir}/README.md | |
%changelog | |
+* Mon Nov 01 2021 Pavel Valena <pvalena@redhat.com> - 3.1.1-1 | |
+- Update to spring 3.1.1. | |
+ 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 | |
diff --git a/sources b/sources | |
index 9296a73..58fa617 100644 | |
--- a/sources | |
+++ b/sources | |
@@ -1,2 +1,2 @@ | |
-SHA512 (spring-2.1.1-tests.tar.gz) = 1a0fe68d07863ceec45882e0f0739c868e60844b78964f1079d35d3b00d6fbc69de82fa891c2b1f4ad81eeb567463ed6263ed3c83fd35c0a4e885f0f2eb7db26 | |
-SHA512 (spring-2.1.1.gem) = a51c3f9cde3fc388ee63cc97bdd2da6eba8a4813d77f2dbe7c8bc98bd6789793120429b4254804971c3d8ecbee6aa59a9563066edfc2e4ee89c869aabd7c5971 | |
+SHA512 (spring-3.1.1.gem) = 2ad60918403218b18f127df6c7b24bc3f98715c3c34578d1e85d3a5be09535699a5e9f01ab466c57fd869d4d3e24a964c99c55bf40319f4a69ae6a085b74618e | |
+SHA512 (spring-3.1.1-tests.tar.gz) = 4d5484193ea9aa8f3da8dd1e3ef7257afdaa5aa327b761fbfd5fb8cab167fd1a194ef92b9d394ade70aabd4707e78f81a5de8e9c4b2b4c085785f0aa296ea62e | |
On branch rebase | |
Your branch is up to date with 'pvalena/rebase'. | |
nothing to commit (use -u to show untracked files) | |
Everything up-to-date | |
Branch 'rebase' set up to track remote branch 'rebase' from 'pvalena'. | |
> Run copr build. | |
+ scripts/pkgs/cr-build.sh -c -t 30m rubygems | |
Created builds: 2995095 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment