package init
This commit is contained in:
parent
08a05ead03
commit
aee4466932
BIN
open4-1.3.4.gem
Normal file
BIN
open4-1.3.4.gem
Normal file
Binary file not shown.
57
rubygem-open4.spec
Normal file
57
rubygem-open4.spec
Normal file
@ -0,0 +1,57 @@
|
||||
%global gem_name open4
|
||||
Summary: Manage child processes and their IO handles easily
|
||||
Name: rubygem-open4
|
||||
Version: 1.3.4
|
||||
Release: 1
|
||||
License: BSD or Ruby
|
||||
URL: http://github.com/ahoward/open4/
|
||||
Source0: https://rubygems.org/gems/open4-%{version}.gem
|
||||
BuildRequires: rubygems-devel rubygem(minitest)
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Open child process with handles on pid, stdin, stdout, and stderr.
|
||||
Manage child processes and their IO handles easily.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for rubygem-open4
|
||||
Requires: rubygem-open4 = %{version}-%{release}
|
||||
%description doc
|
||||
Documentation for rubygem-open4
|
||||
|
||||
%prep
|
||||
%setup -q -c -T
|
||||
%gem_install -n %{SOURCE0}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -pa .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
sed -i '/#!.*env ruby/d' %{buildroot}%{gem_instdir}/samples/jesse-caldwell.rb
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
ruby -Ilib:test/lib -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_libdir}
|
||||
%doc %{gem_instdir}/LICENSE
|
||||
%doc %{gem_instdir}/README
|
||||
%doc %{gem_instdir}/README.erb
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%{gem_instdir}/rakefile
|
||||
%{gem_instdir}/samples
|
||||
%{gem_instdir}/test
|
||||
%{gem_instdir}/white_box
|
||||
%{gem_instdir}/open4.gemspec
|
||||
%doc %{gem_docdir}
|
||||
|
||||
%changelog
|
||||
* Mon Jul 27 2020 yaokai <yaokai13@huawei.com> - 1.3.4-1
|
||||
- package init
|
||||
5
rubygem-open4.yaml
Normal file
5
rubygem-open4.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/ahoward/open4
|
||||
version_control: github
|
||||
src_repo: ahoward/open4
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user