Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created January 18, 2022 08:43
Show Gist options
  • Save pvalena/0bd5a234a6542556991c35a5a5ff8946 to your computer and use it in GitHub Desktop.
Save pvalena/0bd5a234a6542556991c35a5a5ff8946 to your computer and use it in GitHub Desktop.
+ rpmdev-bumpspec -c 'Update to listen 3.7.1.
Resolves: rhbz#2040523' -n 3.7.1 fedora/packages/rubygem-listen/rubygem-listen.spec
+ sed -i '/^# git clone https:\/\/github.com\/guard\/listen.git --no-checkout/ s/3.7.0/3.7.1/g' fedora/packages/rubygem-listen/rubygem-listen.spec
+ sed -i '/^# cd listen && git archive -v -o rubygem-listen-3.7.0-spec.txz v3.7.0 spec/ s/3.7.0/3.7.1/g' fedora/packages/rubygem-listen/rubygem-listen.spec
From https://github.com/guard/listen
029d60e..51053eb master -> origin/master
* [new tag] untagged-027cdcc738df80b12244 -> untagged-027cdcc738df80b12244
* [new tag] untagged-110bf664651f2b138db0 -> untagged-110bf664651f2b138db0
* [new tag] v3.7.1 -> v3.7.1
$cmd: set -x && git clone https://github.com/guard/listen.git --no-checkout ; cd listen && git archive -v -o rubygem-listen-3.7.1-spec.txz v3.7.1 spec && echo Ok || exit 1
>> execute $cmd.
+ git clone https://github.com/guard/listen.git --no-checkout
fatal: destination path 'listen' already exists and is not an empty directory.
+ cd listen
+ git archive -v -o rubygem-listen-3.7.1-spec.txz v3.7.1 spec
spec/
spec/acceptance/
spec/acceptance/listen_spec.rb
spec/lib/
spec/lib/listen/
spec/lib/listen/adapter/
spec/lib/listen/adapter/base_spec.rb
spec/lib/listen/adapter/bsd_spec.rb
spec/lib/listen/adapter/config_spec.rb
spec/lib/listen/adapter/darwin_spec.rb
spec/lib/listen/adapter/linux_spec.rb
spec/lib/listen/adapter/polling_spec.rb
spec/lib/listen/adapter/windows_spec.rb
spec/lib/listen/adapter_spec.rb
spec/lib/listen/backend_spec.rb
spec/lib/listen/change_spec.rb
spec/lib/listen/cli_spec.rb
spec/lib/listen/directory_spec.rb
spec/lib/listen/event/
spec/lib/listen/event/config_spec.rb
spec/lib/listen/event/loop_spec.rb
spec/lib/listen/event/processor_spec.rb
spec/lib/listen/event/queue_spec.rb
spec/lib/listen/file_spec.rb
spec/lib/listen/fsm_spec.rb
spec/lib/listen/listener/
spec/lib/listen/listener/config_spec.rb
spec/lib/listen/listener_spec.rb
spec/lib/listen/logger_spec.rb
spec/lib/listen/monotonic_time_spec.rb
spec/lib/listen/queue_optimizer_spec.rb
spec/lib/listen/record_spec.rb
spec/lib/listen/silencer/
spec/lib/listen/silencer/controller_spec.rb
spec/lib/listen/silencer_spec.rb
spec/lib/listen/thread_spec.rb
spec/lib/listen_spec.rb
spec/spec_helper.rb
spec/support/
spec/support/acceptance_helper.rb
spec/support/fixtures_helper.rb
spec/support/platform_helper.rb
+ echo Ok
Ok
renamed './listen/rubygem-listen-3.7.1-spec.txz' -> './rubygem-listen-3.7.1-spec.txz'
SHA512 (listen-3.7.1.gem) = 902324850d022086ced8aa0759638a3d909c717ea8045af276f1a2e27128796c5fbe0b4b7e57aee76362cbeac3401101eaf68d9cc173364507811f7934c8e606
SHA512 (rubygem-listen-3.7.1-spec.txz) = 189874cdbb7246a5e319629882876a1cd5d82b1c441828a237a6152f4356ddd619b820d51cc0c692f2c2e72dec3506627b6385e54d067f6bb3bcbc0fb3e3b15b
[rebase ca01c9f] Update to listen 3.7.1.
2 files changed, 8 insertions(+), 4 deletions(-)
--> Please check the gem compare output bellow: !
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: ["3.7.0", "3.7.1"]
DIFFERENT metadata:
3.7.0: {"allowed_push_host"=>"https://rubygems.org", "bug_tracker_uri"=>"https://github.com/guard/listen/issues", "changelog_uri"=>"https://github.com/guard/listen/releases", "documentation_uri"=>"https://www.rubydoc.info/gems/listen/3.7.0", "homepage_uri"=>"https://github.com/guard/listen", "source_code_uri"=>"https://github.com/guard/listen/tree/v3.7.0"}
3.7.1: {"allowed_push_host"=>"https://rubygems.org", "bug_tracker_uri"=>"https://github.com/guard/listen/issues", "changelog_uri"=>"https://github.com/guard/listen/releases", "documentation_uri"=>"https://www.rubydoc.info/gems/listen/3.7.1", "homepage_uri"=>"https://github.com/guard/listen", "source_code_uri"=>"https://github.com/guard/listen/tree/v3.7.1"}
> Continue with commit ammend.
[rebase d0222c8] Update to listen 3.7.1.
Date: Tue Jan 18 09:11:28 2022 +0100
2 files changed, 8 insertions(+), 4 deletions(-)
commit d0222c8422071c674da65ef4eb7552b0eade5a08
Author: Pavel Valena <pvalena@redhat.com>
Date: Tue Jan 18 09:11:28 2022 +0100
Update to listen 3.7.1.
Resolves: rhbz#2040523
diff --git a/rubygem-listen.spec b/rubygem-listen.spec
index cf4e688..71e313f 100644
--- a/rubygem-listen.spec
+++ b/rubygem-listen.spec
@@ -2,14 +2,14 @@
%global gem_name listen
Name: rubygem-%{gem_name}
-Version: 3.7.0
+Version: 3.7.1
Release: 1%{?dist}
Summary: Listen to file modifications
License: MIT
URL: https://github.com/guard/listen
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone https://github.com/guard/listen.git --no-checkout
-# cd listen && git archive -v -o rubygem-listen-3.7.0-spec.txz v3.7.0 spec
+# cd listen && git archive -v -o rubygem-listen-3.7.1-spec.txz v3.7.1 spec
Source1: rubygem-listen-%{version}-spec.txz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
@@ -92,6 +92,10 @@ popd
%doc %{gem_instdir}/README.md
%changelog
+* Tue Jan 18 2022 Pavel Valena <pvalena@redhat.com> - 3.7.1-1
+- Update to listen 3.7.1.
+ Resolves: rhbz#2040523
+
* Mon Nov 01 2021 Pavel Valena <pvalena@redhat.com> - 3.7.0-1
- Update to listen 3.7.0.
Resolves: rhbz#1984206
diff --git a/sources b/sources
index a9cd3d8..7511fb2 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (listen-3.7.0.gem) = 06d812c4032a906405ea5ffafe9aa2242685bd6ef935a2409bfa75d8d3ec2589ca28ceb32a238a911fd840d0a2d44a86c2e8060c1a9ab4c5f2b9f9275b68c44e
-SHA512 (rubygem-listen-3.7.0-spec.txz) = 3287729d2913a18bfbb4abbfbb2c025b914fd331d1c8bac24cbc998f6fc08696b01049eee83e2d586900700d4b801392fae1e82f110b79e8048cfe00b9543c3c
+SHA512 (listen-3.7.1.gem) = 902324850d022086ced8aa0759638a3d909c717ea8045af276f1a2e27128796c5fbe0b4b7e57aee76362cbeac3401101eaf68d9cc173364507811f7934c8e606
+SHA512 (rubygem-listen-3.7.1-spec.txz) = 189874cdbb7246a5e319629882876a1cd5d82b1c441828a237a6152f4356ddd619b820d51cc0c692f2c2e72dec3506627b6385e54d067f6bb3bcbc0fb3e3b15b
On branch rebase
Your branch is ahead of 'pvalena/rebase' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit (use -u to show untracked files)
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits
remote: - to fedora-message
remote: 2022-01-18 08:11:44,501 [WARNING] pagure.lib.notify: pagure is about to send a message that has no schemas: pagure.git.receive
remote:
remote: Create a pull-request for rebase
remote: https://src.fedoraproject.org/fork/pvalena/rpms/rubygem-listen/diff/rawhide..rebase
remote:
To ssh://pkgs.fedoraproject.org/forks/pvalena/rpms/rubygem-listen.git
afab0c3..d0222c8 rebase -> rebase
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: 3192874
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment