commit 10fa8dc2583ee36e523a14245b7ff733ceea238e
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Sep 25 21:28:57 2013 +0300

    up to 0.15.1; package gemspec

 ruby-celluloid.spec | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/ruby-celluloid.spec b/ruby-celluloid.spec
index ad0f395..e0676ce 100644
--- a/ruby-celluloid.spec
+++ b/ruby-celluloid.spec
@@ -5,15 +5,15 @@
 %define        pkgname celluloid
 Summary:       Actor-based concurrent object framework for Ruby
 Name:          ruby-%{pkgname}
-Version:       0.14.1
+Version:       0.15.1
 Release:       1
 License:       MIT
 Group:         Development/Languages
 Source0:       http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5: 0d31912e5b1a1d9fd233e9783e451bc9
+# Source0-md5: 8e28d7173292ea55aaa727b0a0da8913
 URL:           https://github.com/celluloid/celluloid
 BuildRequires: rpm-rubyprov
-BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: rpmbuild(macros) >= 1.665
 %if %{with tests}
 BuildRequires: ruby-benchmark_suite
 BuildRequires: ruby-guard-rspec
@@ -21,7 +21,8 @@ BuildRequires:        ruby-rake
 BuildRequires: ruby-rspec
 %endif
 Requires:      ruby-rubygems >= 1.3.6
-Requires:      ruby-timers >= 1.0.0
+Requires:      ruby-timers < 1.2
+Requires:      ruby-timers >= 1.1.0
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,15 +34,21 @@ out of sequential objects.
 %prep
 %setup -q -n %{pkgname}-%{version}
 
+%build
+# write .gemspec
+%__gem_helper spec
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{ruby_vendorlibdir}/%{pkgname}.rb
-%{ruby_vendorlibdir}/%{pkgname}
+%{ruby_vendorlibdir}/celluloid.rb
+%{ruby_vendorlibdir}/celluloid
+%{ruby_specdir}/celluloid-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-celluloid.git/commitdiff/10fa8dc2583ee36e523a14245b7ff733ceea238e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to