[packages/ruby-celluloid-io] Up to 0.17.3
arekm
arekm at pld-linux.org
Wed Mar 18 15:38:39 CET 2026
commit 1dc9bbf86e3ca3166cd41ac306f09a603daa4839
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Mar 18 15:38:29 2026 +0100
Up to 0.17.3
celluloid-io-culture-sync.patch | 20 ++++++++++++++++++++
ruby-celluloid-io.spec | 17 ++++++++++-------
2 files changed, 30 insertions(+), 7 deletions(-)
---
diff --git a/ruby-celluloid-io.spec b/ruby-celluloid-io.spec
index 299fc46..9bcfb6b 100644
--- a/ruby-celluloid-io.spec
+++ b/ruby-celluloid-io.spec
@@ -5,13 +5,14 @@
%define pkgname celluloid-io
Summary: Celluloid::IO allows you to monitor multiple IO objects within a Celluloid actor
Name: ruby-%{pkgname}
-Version: 0.15.0
-Release: 2
+Version: 0.17.3
+Release: 1
License: MIT
Group: Development/Languages
-Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5: 39d561d3596c24eb81c1d500f0b82c25
-URL: http://github.com/celluloid/celluloid-io
+Source0: https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: a9cae39dd935048957ce53623b5b443b
+URL: https://github.com/celluloid/celluloid-io
+Patch0: celluloid-io-culture-sync.patch
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.656
%if %{with tests}
@@ -22,8 +23,9 @@ BuildRequires: ruby-rb-fsevent < 0.10
BuildRequires: ruby-rb-fsevent >= 0.9.1
BuildRequires: ruby-rspec
%endif
-Requires: ruby-celluloid >= 0.15.0
-Requires: ruby-nio4r >= 0.5.0
+Requires: ruby-celluloid >= 0.18.0
+Requires: ruby-nio4r >= 1.1
+Requires: ruby-timers >= 4.1.1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,6 +34,7 @@ Evented IO for Celluloid actors
%prep
%setup -q -n %{pkgname}-%{version}
+%patch -P0 -p1
%build
%__gem_helper spec
diff --git a/celluloid-io-culture-sync.patch b/celluloid-io-culture-sync.patch
new file mode 100644
index 0000000..69dc4b4
--- /dev/null
+++ b/celluloid-io-culture-sync.patch
@@ -0,0 +1,20 @@
+Add a minimal culture/sync helper so the upstream gemspec loads cleanly.
+The released gem does not ship this file, but gem_helper needs the
+Celluloid::Sync::Gemspec hook to evaluate the gemspec.
+
+diff --git a/culture/sync.rb b/culture/sync.rb
+new file mode 100644
+index 0000000..1111111
+--- /dev/null
++++ b/culture/sync.rb
+@@ -0,0 +1,10 @@
++require_relative "../lib/celluloid/io/version"
++
++module Celluloid
++ module Sync
++ module Gemspec
++ def self.[](gem)
++ end
++ end
++ end
++end
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-celluloid-io.git/commitdiff/1dc9bbf86e3ca3166cd41ac306f09a603daa4839
More information about the pld-cvs-commit
mailing list