[packages/ruby-mixlib-shellout] Up to 3.4.10

arekm arekm at pld-linux.org
Fri Mar 20 16:56:18 CET 2026


commit bc8953d82722fd52a6fac20f23555cd8d06f7d5a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Mar 20 16:56:09 2026 +0100

    Up to 3.4.10

 ruby-mixlib-shellout.spec | 42 ++++++++++--------------------------------
 1 file changed, 10 insertions(+), 32 deletions(-)
---
diff --git a/ruby-mixlib-shellout.spec b/ruby-mixlib-shellout.spec
index 6baf804..7222425 100644
--- a/ruby-mixlib-shellout.spec
+++ b/ruby-mixlib-shellout.spec
@@ -1,34 +1,21 @@
 #
 # Conditional build:
-%bcond_without	tests		# build without tests
-
-%if 0
-# Tests for this package are not in the gem. To update:
-V=2.0.0
-git clone https://github.com/opscode/mixlib-shellout.git
-GIT_DIR=mixlib-shellout/.git git fetch origin tag $V
-GIT_DIR=mixlib-shellout/.git git archive $V spec/ | bzip2 -9 > mixlib-shellout-specs-$V.tar.bz2
-./dropin mixlib-shellout-specs-$V.tar.bz2 &
-%endif
+%bcond_with	tests		# build with tests (not in gem)
 
 %define pkgname mixlib-shellout
 Summary:	Run external commands on Unix or Windows
 Name:		ruby-%{pkgname}
-Version:	2.0.0
-Release:	2
+Version:	3.4.10
+Release:	1
 License:	Apache v2.0
 Group:		Development/Languages
-Source0:	http://rubygems.org/gems/%{pkgname}-%{version}.gem
-# Source0-md5:	5bba918d8dcaf56a9c01e59837f46168
-Source1:	%{pkgname}-specs-%{version}.tar.bz2
-# Source1-md5:	de7ed9f772768b5ce90b6aa4128aa040
-URL:		https://github.com/opscode/mixlib-shellout
+Source0:	https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	2723cf6a9cc45d9443e547b48425069b
+URL:		https://github.com/chef/mixlib-shellout
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
-BuildRequires:	ruby-rubygems
 %if %{with tests}
-BuildRequires:	ruby-rspec < 3
-BuildRequires:	ruby-rspec >= 2.0
+BuildRequires:	ruby-rspec
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,24 +23,14 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Run external commands on Unix or Windows
 
-%package doc
-Summary:	Documentation for %{name}
-Group:		Documentation
-Requires:	%{name} = %{version}-%{release}
-
-%description doc
-Documentation for %{name}
-
 %prep
-%setup -q -n %{pkgname}-%{version} -a1
+%setup -q -n %{pkgname}-%{version}
 
 %build
 %__gem_helper spec
 
 %if %{with tests}
-# One of the tests involves a fork && sleep 10 that may not finish before mock
 rspec
-sleep 10
 %endif
 
 %install
@@ -67,7 +44,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md LICENSE
+%doc LICENSE
 %{ruby_vendorlibdir}/mixlib/shellout.rb
 %{ruby_vendorlibdir}/mixlib/shellout
 %{ruby_specdir}/%{pkgname}-%{version}.gemspec
+%dir %{ruby_vendorlibdir}/mixlib
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-mixlib-shellout.git/commitdiff/bc8953d82722fd52a6fac20f23555cd8d06f7d5a



More information about the pld-cvs-commit mailing list