#1 Update to msgpack 1.3.1
Opened a month ago by pvalena. Modified 16 days ago
rpms/ pvalena/rubygem-msgpack rebase  into  master

file modified
+1 -2

@@ -1,2 +1,1 @@ 

- /msgpack-0.5.11.gem

- /msgpack-1.1.0.gem

+ /msgpack-*.gem

file modified
+9 -29

@@ -2,8 +2,8 @@ 

  %global gem_name msgpack

  

  Name: rubygem-%{gem_name}

- Version: 1.1.0

- Release: 12%{?dist}

+ Version: 1.3.1

+ 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: 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 @@ 

  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,21 +43,12 @@ 

  cp -a .%{gem_dir}/* \

          %{buildroot}%{gem_dir}/

  

- %if 0%{?fedora} > 0

  mkdir -p %{buildroot}%{gem_extdir_mri}

  cp -ar .%{gem_extdir_mri}/{gem.build_complete,%{gem_name}} %{buildroot}%{gem_extdir_mri}/

- %endif

- 

- %if 0%{?rhel} >= 7

- 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}

@@ -82,9 +59,9 @@ 

  %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

@@ -102,6 +79,9 @@ 

  %{gem_instdir}/spec

  

  %changelog

+ * Fri Jan 31 2020 Pavel Valena <pvalena@redhat.com> - 1.3.1-1

+ - Update to msgpack 1.3.1.

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

file modified
+1 -1

@@ -1,1 +1,1 @@ 

- SHA512 (msgpack-1.1.0.gem) = 0142c9a446a476a7b4f9212513dd7b1fbe107193a473873f4eb6f4321d5515c42ea3540ac4de17f37f9e833f19bb75594d14b84ccf70b16d2a3840e066c873da

+ SHA512 (msgpack-1.3.1.gem) = 79a71725e337c37417b7b02d77a25d28c742daa539f7247fc50b7e146311d491a6a20b86aa2bdd0eae0c1dffab3ee35a1a7a775f7f5c6688be09ecd2149c187a

also ehnance .spec and .gitignore files.


To have latest msgpack gem in Fedora.

Up-to-date Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=41299315

Up-to-date Copr build:
https://copr.fedorainfracloud.org/coprs/build/1213457

Checks:

  • Syntax check: ok
  • Tests: ok
  • Dependent packages: ok
  • Smoke test: ok
  • rpmlint: ok

I've created an issue for rpmlint error:
https://github.com/msgpack/msgpack-ruby/issues/176

rebased onto 3612a8f

16 days ago

@spredzy, I've rebased, retested, please merge.