| |
@@ -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: 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,19 +43,12 @@
|
| |
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 @@
|
| |
%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 @@
|
| |
%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
|
| |
|
| |
also ehnance .spec and .gitignore files.
Resolves: rhbz#1533462
https://bugzilla.redhat.com/show_bug.cgi?id=1533462
To have latest msgpack gem in Fedora.
Note: I'm updating bootsnap as well with RoR 7.0.X.
Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=82474905
Copr build:
https://copr.fedorainfracloud.org/coprs/build/3334854
Checks:
Update log: https://gist.github.com/a6d6a8eace68e9d260b6787fc4ae6d7e
Test log: https://gist.github.com/b5f0d275f68fd02df94c33c819ea7cf4
gem2rpm diff: https://gist.github.com/7cad66cbda9e18b172c4a34886e0ea98
I've created an issue for rpmlint error:
https://github.com/msgpack/msgpack-ruby/issues/176