[packages/ruby-dpl] Up to 2.0.5.4

arekm arekm at pld-linux.org
Sat Mar 28 00:10:35 CET 2026


commit e1ae89661862a706d1a681a7338dc34be8a83322
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 28 00:10:24 2026 +0100

    Up to 2.0.5.4

 dpl-shebang.patch |  8 ++++++++
 ruby-dpl.spec     | 22 +++++++++-------------
 2 files changed, 17 insertions(+), 13 deletions(-)
---
diff --git a/ruby-dpl.spec b/ruby-dpl.spec
index fc479e9..052c225 100644
--- a/ruby-dpl.spec
+++ b/ruby-dpl.spec
@@ -5,23 +5,19 @@
 %define	pkgname	dpl
 Summary:	deploy tool
 Name:		ruby-%{pkgname}
-Version:	1.10.16
+Version:	2.0.5.4
 Release:	1
 License:	MIT
 Group:		Development/Languages
-Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5:	d40f96347155c6472d2b83b108155321
+Source0:	https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	6823d1c35fc7c0e9195128f77d3472e0
+Patch0:		dpl-shebang.patch
 URL:		https://github.com/travis-ci/dpl
 BuildRequires:	rpm-rubyprov
-BuildRequires:	rpmbuild(macros) >= 1.656
-BuildRequires:	sed >= 4.0
+BuildRequires:	rpmbuild(macros) >= 1.665
 %if %{with tests}
-BuildRequires:	ruby-coveralls
-BuildRequires:	ruby-json = 1.8.1
 BuildRequires:	ruby-rake
-BuildRequires:	ruby-rspec < 3.1
-BuildRequires:	ruby-rspec >= 3.0.0
-BuildRequires:	ruby-rspec-its
+BuildRequires:	ruby-rspec
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,11 +27,9 @@ deploy tool abstraction for clients.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
-%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+%patch -P0 -p1
 
 %build
-# extract metadata to generate correct gemspec
-%{__tar} xf %{SOURCE0} metadata.gz
 # write .gemspec
 %__gem_helper spec
 
@@ -51,6 +45,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc CHANGELOG.md LICENSE README.md
 %attr(755,root,root) %{_bindir}/dpl
+%{ruby_vendorlibdir}/%{pkgname}.rb
 %{ruby_vendorlibdir}/%{pkgname}
 %{ruby_specdir}/%{pkgname}-%{version}.gemspec
diff --git a/dpl-shebang.patch b/dpl-shebang.patch
new file mode 100644
index 0000000..38135c1
--- /dev/null
+++ b/dpl-shebang.patch
@@ -0,0 +1,8 @@
+--- a/bin/dpl	2026-03-28 00:04:08.211165467 +0100
++++ b/bin/dpl	2026-03-28 00:04:08.213085734 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env ruby
++#!/usr/bin/ruby
+ # frozen_string_literal: true
+ 
+ $LOAD_PATH << File.expand_path('../lib', __dir__)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-dpl.git/commitdiff/e1ae89661862a706d1a681a7338dc34be8a83322



More information about the pld-cvs-commit mailing list