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