Update to nio4r 2.2.0.

f38
Vít Ondruch 7 years ago
parent 7f30a4cdc2
commit 30a7875570

1
.gitignore vendored

@ -1,3 +1,4 @@
/nio4r-1.2.1.gem /nio4r-1.2.1.gem
/nio4r-2.0.0.gem /nio4r-2.0.0.gem
/nio4r-2.1.0.gem /nio4r-2.1.0.gem
/nio4r-2.2.0.gem

@ -4,10 +4,9 @@
%global libev_version 4.24 %global libev_version 4.24
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.1.0 Version: 2.2.0
Release: 4%{?dist} Release: 1%{?dist}
Summary: New IO for Ruby Summary: New IO for Ruby
Group: Development/Languages
# The entire source code is MIT, bundled libev is BSD or GPLv2+ # The entire source code is MIT, bundled libev is BSD or GPLv2+
License: MIT and (BSD or GPLv2+) License: MIT and (BSD or GPLv2+)
URL: https://github.com/socketry/nio4r URL: https://github.com/socketry/nio4r
@ -16,6 +15,9 @@ BuildRequires: ruby(release)
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
BuildRequires: ruby-devel BuildRequires: ruby-devel
BuildRequires: rubygem(rspec) BuildRequires: rubygem(rspec)
# Compiler is required for build of gem binary extension.
# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires
BuildRequires: gcc
# As bundled libev ev.c is modified from original one, # As bundled libev ev.c is modified from original one,
# we have to use the bundled libev instead of separating it and # we have to use the bundled libev instead of separating it and
@ -34,7 +36,6 @@ servers. Inspired by the Java NIO API, but simplified for ease-of-use.
%package doc %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
@ -42,15 +43,11 @@ BuildArch: noarch
Documentation for %{name}. Documentation for %{name}.
%prep %prep
gem unpack %{SOURCE0} %setup -q -n %{gem_name}-%{version}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%build %build
# Create the gem as gem install only works on a gem file # Create the gem as gem install only works on a gem file
gem build %{gem_name}.gemspec gem build ../%{gem_name}-%{version}.gemspec
# Update %%optflags used in %%gem_install to avoid strict-aliasing warnings. # Update %%optflags used in %%gem_install to avoid strict-aliasing warnings.
# https://github.com/socketry/nio4r/pull/130 # https://github.com/socketry/nio4r/pull/130
@ -106,6 +103,7 @@ popd
%{gem_extdir_mri} %{gem_extdir_mri}
%exclude %{gem_instdir}/.* %exclude %{gem_instdir}/.*
%license %{gem_instdir}/LICENSE.txt %license %{gem_instdir}/LICENSE.txt
%exclude %{gem_instdir}/appveyor.yml
%{gem_libdir} %{gem_libdir}
%exclude %{gem_cache} %exclude %{gem_cache}
%{gem_spec} %{gem_spec}
@ -124,6 +122,9 @@ popd
%{gem_instdir}/spec %{gem_instdir}/spec
%changelog %changelog
* Thu Jan 04 2018 Vít Ondruch <vondruch@redhat.com> - 2.2.0-1
- Update to nio4r 2.2.0.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

@ -1 +1 @@
SHA512 (nio4r-2.1.0.gem) = 40fdc0453fb5c6ea275cdacf698b834d2ea198448cdac33dd6353780097cb4957c53c0bb1576e7d99d9362f1def596412cb3c78e0600d38664a8e8ff37018d65 SHA512 (nio4r-2.2.0.gem) = 9a9acaede13da07894edb7012f593bd2132296f2130cc2529cfbbad421aaa1e7b144403c9812e6ac8429cf6bb9e8c7e746acd86f2061dedf4cc14fb10fdaa7fe

Loading…
Cancel
Save