Created
February 6, 2022 22:17
-
-
Save pvalena/a6d6a8eace68e9d260b6787fc4ae6d7e 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: ["1.1.0", "1.4.4"] | |
DIFFERENT require_paths: | |
1.1.0: ["/usr/lib64/gems/ruby/msgpack-1.1.0", "lib"] | |
1.4.4: ["/usr/lib64/gems/ruby/msgpack-1.4.4", "lib"] | |
DIFFERENT required_ruby_version: | |
1.1.0: >= 0 | |
1.4.4: >= 2.4 | |
DIFFERENT files: | |
1.1.0->1.4.4: | |
* Deleted: | |
.travis.yml | |
README.rdoc | |
* Added: | |
.github/workflows/ | |
README.md | |
DIFFERENT test_files: | |
1.1.0->1.4.4: | |
* Deleted: | |
spec/ | |
spec/cruby/ | |
spec/jruby/benchmarks/ | |
spec/jruby/ | |
DIFFERENT development dependencies: | |
1.1.0->1.4.4: | |
* Deleted: | |
rake-compiler-dock ["~> 0.6.0"] (development) | |
* Updated: | |
bundler from: ["~> 1.0"] to: [">= 0"] | |
rake from: ["~> 0.9.2"] to: [">= 0"] | |
rake-compiler from: ["~> 1.0"] to: [">= 1.1.9"] | |
yard from: ["~> 0.8.2"] to: [">= 0"] | |
DIFFERENT Gemfile dependencies | |
1.1.0->1.4.4: | |
* Added: | |
rubocop ["~> 0.82.0"] | |
simplecov [">= 0"] | |
commit 6e0d84d335d2db2d8d807fa872c9ffab7d3b532f | |
Author: Pavel Valena <pvalena@redhat.com> | |
Date: Wed Nov 27 15:35:18 2019 +0100 | |
Update to msgpack 1.4.4 | |
also ehnance .spec and .gitignore files. | |
Resolves: rhbz#1533462 | |
diff --git a/.gitignore b/.gitignore | |
index 1ff5cd5..2ba4025 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1,2 +1 @@ | |
-/msgpack-0.5.11.gem | |
-/msgpack-1.1.0.gem | |
+/msgpack-*.gem | |
diff --git a/rubygem-msgpack.spec b/rubygem-msgpack.spec | |
index be25436..6dce67d 100644 | |
--- a/rubygem-msgpack.spec | |
+++ b/rubygem-msgpack.spec | |
@@ -2,8 +2,8 @@ | |
%global gem_name msgpack | |
Name: rubygem-%{gem_name} | |
-Version: 1.1.0 | |
-Release: 18%{?dist} | |
+Version: 1.4.4 | |
+Release: 1%{?dist} | |
Summary: MessagePack, a binary-based efficient data interchange format | |
License: ASL 2.0 | |
URL: http://msgpack.org/ | |
@@ -13,15 +13,9 @@ BuildRequires: ruby(release) | |
BuildRequires: rubygems-devel | |
BuildRequires: ruby-devel | |
BuildRequires: rubygem(rspec) | |
-# BuildRequires: rubygem(rake-compiler) => 0.8.3 | |
# BuildRequires: rubygem(rake-compiler) < 0.9 | |
-# BuildRequires: rubygem(rspec) => 2.11 | |
-# BuildRequires: rubygem(rspec) < 3 | |
-# BuildRequires: rubygem(json) => 1.7 | |
# BuildRequires: rubygem(json) < 2 | |
-# BuildRequires: rubygem(yard) => 0.8.2 | |
# BuildRequires: rubygem(yard) < 0.9 | |
-Provides: rubygem(%{gem_name}) = %{version} | |
%description | |
MessagePack is a binary-based efficient object serialization library. It | |
@@ -38,18 +32,10 @@ BuildArch: noarch | |
Documentation for %{name}. | |
%prep | |
-gem unpack %{SOURCE0} | |
- | |
-%setup -q -D -T -n %{gem_name}-%{version} | |
- | |
-gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec | |
+%setup -q -n %{gem_name}-%{version} | |
%build | |
-# Create the gem as gem install only works on a gem file | |
-gem build %{gem_name}.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 build ../%{gem_name}-%{version}.gemspec | |
%gem_install | |
%install | |
@@ -57,19 +43,12 @@ mkdir -p %{buildroot}%{gem_dir} | |
cp -a .%{gem_dir}/* \ | |
%{buildroot}%{gem_dir}/ | |
-%if 0%{?fedora} || 0%{?rhel} >= 8 | |
mkdir -p %{buildroot}%{gem_extdir_mri} | |
cp -ar .%{gem_extdir_mri}/{gem.build_complete,%{gem_name}} %{buildroot}%{gem_extdir_mri}/ | |
-%else | |
-mkdir -p %{buildroot}%{gem_extdir_mri}/lib/%{gem_name} | |
-cp -ar .%{gem_instdir}/lib/%{gem_name}/%{gem_name}.so %{buildroot}%{gem_extdir_mri}/lib/%{gem_name} | |
-%endif | |
# Prevent dangling symlink in -debuginfo (rhbz#878863). | |
rm -rf %{buildroot}%{gem_instdir}/ext/ | |
-rm -f %{buildroot}%{gem_instdir}/{.gitignore,.travis.yml} | |
- | |
# Run the test suite | |
%check | |
pushd .%{gem_instdir} | |
@@ -80,9 +59,9 @@ popd | |
%files | |
%dir %{gem_instdir} | |
%{gem_extdir_mri} | |
-%exclude %{gem_instdir}/.rubocop.yml | |
+%exclude %{gem_instdir}/.* | |
%license %{gem_instdir}/LICENSE | |
-%{gem_instdir}/appveyor.yml | |
+%exclude %{gem_instdir}/appveyor.yml | |
%{gem_instdir}/bench | |
%{gem_libdir} | |
%{gem_instdir}/msgpack.org.md | |
@@ -93,13 +72,17 @@ popd | |
%doc %{gem_docdir} | |
%doc %{gem_instdir}/ChangeLog | |
%{gem_instdir}/Gemfile | |
-%doc %{gem_instdir}/README.rdoc | |
+%doc %{gem_instdir}/README.md | |
%{gem_instdir}/Rakefile | |
%doc %{gem_instdir}/doclib | |
%{gem_instdir}/msgpack.gemspec | |
%{gem_instdir}/spec | |
%changelog | |
+* Sun Feb 06 2022 Pavel Valena <pvalena@redhat.com> - 1.4.4-1 | |
+- Update to msgpack 1.4.4. | |
+ Resolves: rhbz#1533462 | |
+ | |
* Wed Jan 26 2022 Vít Ondruch <vondruch@redhat.com> - 1.1.0-18 | |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.1 | |
diff --git a/sources b/sources | |
index 2ce72fa..e6a38b8 100644 | |
--- a/sources | |
+++ b/sources | |
@@ -1 +1 @@ | |
-SHA512 (msgpack-1.1.0.gem) = 0142c9a446a476a7b4f9212513dd7b1fbe107193a473873f4eb6f4321d5515c42ea3540ac4de17f37f9e833f19bb75594d14b84ccf70b16d2a3840e066c873da | |
+SHA512 (msgpack-1.3.3.gem) = 18d78cac70a14a22fab6f7743f702cbb1a636434e881dff5b6eec89be137a47fac1649e143dfa8c3c9e65ccc099b2b3c778cb333613d750cb6b296e3ce7db3c9 | |
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: 3334854 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment