Rebuilt for Ruby 1.9.3.

Updated to 1.3.0 version.
Introduced %check section for running tests.
epel9
Bohuslav Kabrda 13 years ago
parent 433f695719
commit d6328d41ef

1
.gitignore vendored

@ -1 +1,2 @@
/open4-1.0.1.gem /open4-1.0.1.gem
/open4-1.3.0.gem

@ -1,21 +1,20 @@
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) %global gem_name open4
%global gemname open4 %global rubyabi 1.9.1
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global rubyabi 1.8
Summary: Manage child processes and their IO handles easily Summary: Manage child processes and their IO handles easily
Name: rubygem-%{gemname} Name: rubygem-%{gem_name}
Version: 1.0.1 Version: 1.3.0
Release: 3%{?dist} Release: 1%{?dist}
Group: Development/Languages Group: Development/Languages
License: GPLv2+ or Ruby License: GPLv2+ or Ruby
URL: http://github.com/ahoward/open4/tree/master URL: http://github.com/ahoward/open4/tree/master
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
Requires: ruby(abi) = %{rubyabi} Requires: ruby(abi) = %{rubyabi}
Requires: rubygems Requires: ruby(rubygems)
BuildRequires: rubygems BuildRequires: rubygems-devel
BuildRequires: rubygem(minitest)
BuildArch: noarch BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version} Provides: rubygem(%{gem_name}) = %{version}
%description %description
Open child process with handles on pid, stdin, stdout, and stderr. Open child process with handles on pid, stdin, stdout, and stderr.
@ -35,32 +34,44 @@ Documentation for %{name}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir} mkdir -p %{buildroot}%{gem_dir}
gem install --local --install-dir %{buildroot}%{gemdir} \ gem install --local --install-dir %{buildroot}%{gem_dir} \
--force --rdoc %{SOURCE0} --force --rdoc %{SOURCE0}
%check
pushd %{buildroot}%{gem_instdir}
testrb -Ilib -Itest/support test/*
popd
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%files %files
%defattr(-, root, root, -) %defattr(-, root, root, -)
%dir %{geminstdir} %dir %{gem_instdir}
%{geminstdir}/lib %{gem_libdir}
%doc %{geminstdir}/README %doc %{gem_instdir}/LICENSE
%doc %{geminstdir}/README.erb %doc %{gem_instdir}/README
%{gemdir}/cache/%{gemname}-%{version}.gem %doc %{gem_instdir}/README.erb
%{gemdir}/specifications/%{gemname}-%{version}.gemspec %{gem_cache}
%{gem_spec}
%files doc %files doc
%defattr(-, root, root, -) %defattr(-, root, root, -)
%{geminstdir}/Rakefile %{gem_instdir}/rakefile
%{geminstdir}/samples %{gem_instdir}/samples
%{geminstdir}/white_box %{gem_instdir}/test
%{geminstdir}/%{gemname}.gemspec %{gem_instdir}/white_box
%{gemdir}/doc/%{gemname}-%{version} %{gem_instdir}/%{gem_name}.gemspec
%{gem_docdir}
%changelog %changelog
* Tue Jan 24 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.0-1
- Rebuilt for Ruby 1.9.3.
- Updated to 1.3.0 version.
- Introduced %%check section for running tests.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

@ -1 +1 @@
d5d18fc9fc9384ceb53383605ada8211 open4-1.0.1.gem dc0affafe0138d5f35e45cb34db57ccd open4-1.3.0.gem

Loading…
Cancel
Save