Update to popen4 1.3.4.

epel9
Vít Ondruch 11 years ago
parent 22bcddad7c
commit 4180e081a0

1
.gitignore vendored

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

@ -2,18 +2,15 @@
Summary: Manage child processes and their IO handles easily
Name: rubygem-%{gem_name}
Version: 1.3.0
Release: 7%{?dist}
Version: 1.3.4
Release: 1%{?dist}
Group: Development/Languages
License: BSD or Ruby
URL: http://github.com/ahoward/open4/tree/master
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
Requires: ruby(release)
Requires: ruby(rubygems)
URL: http://github.com/ahoward/open4/
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: rubygems-devel
BuildRequires: rubygem(minitest)
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
%description
Open child process with handles on pid, stdin, stdout, and stderr.
@ -28,43 +25,46 @@ Requires:%{name} = %{version}-%{release}
Documentation for %{name}
%prep
%setup -q -c -T
%gem_install -n %{SOURCE0}
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
%gem_install -n %{SOURCE0} -d %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
# Fix rpmlint warning.
sed -i '/#!.*env ruby/d' %{buildroot}%{gem_instdir}/samples/jesse-caldwell.rb
%check
pushd %{buildroot}%{gem_instdir}
testrb -Ilib -Itest/support test/*
pushd .%{gem_instdir}
ruby -Ilib:test/lib -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
popd
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{gem_instdir}
%{gem_libdir}
%doc %{gem_instdir}/LICENSE
%doc %{gem_instdir}/README
%doc %{gem_instdir}/README.erb
%{gem_cache}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%defattr(-, root, root, -)
%{gem_instdir}/rakefile
%{gem_instdir}/samples
%{gem_instdir}/test
%{gem_instdir}/white_box
%{gem_instdir}/%{gem_name}.gemspec
%{gem_docdir}
%doc %{gem_docdir}
%changelog
* Wed Jul 16 2014 Vít Ondruch <vondruch@redhat.com> - 1.3.4-1
- Update to popen4 1.3.4.
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

@ -1 +1 @@
dc0affafe0138d5f35e45cb34db57ccd open4-1.3.0.gem
24c0bb0abdbf098ad116c1bb5a6a1905 open4-1.3.4.gem

Loading…
Cancel
Save