]> git.pld-linux.org Git - packages/ruby-celluloid.git/commitdiff
up to 0.15.1; package gemspec auto/th/ruby-celluloid-0.15.1-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 25 Sep 2013 18:28:57 +0000 (21:28 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 25 Sep 2013 18:28:57 +0000 (21:28 +0300)
ruby-celluloid.spec

index ad0f395367a1413a6ae97596da0161e5bdefee9c..e0676ce8e25b910f40f3ca0f6b0ec8eaf657bb41 100644 (file)
@@ -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
This page took 0.106869 seconds and 4 git commands to generate.