[packages/ruby-addressable] Up to 2.8.8

arekm arekm at pld-linux.org
Wed Mar 18 12:12:20 CET 2026


commit a76349e65e896df7873d435dd85f943c011b314f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Mar 18 12:12:00 2026 +0100

    Up to 2.8.8

 data-location.patch   | 11 -----------
 ruby-addressable.spec | 15 ++++++---------
 2 files changed, 6 insertions(+), 20 deletions(-)
---
diff --git a/ruby-addressable.spec b/ruby-addressable.spec
index cbf46f2..9d5eb1f 100644
--- a/ruby-addressable.spec
+++ b/ruby-addressable.spec
@@ -5,14 +5,13 @@
 %define	pkgname	addressable
 Summary:	Improved URI/URL Implementation
 Name:		ruby-%{pkgname}
-Version:	2.3.5
-Release:	6
+Version:	2.8.8
+Release:	1
 License:	Apache v2.0
 Group:		Development/Languages
-Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5:	6b9a61885c3c95f912eec560f8f2e3eb
-Patch0:		data-location.patch
-URL:		http://addressable.rubyforge.org/
+Source0:	https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	51d1a2204c947a6577fb9c0c7a708036
+URL:		https://github.com/sporkmonger/addressable
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
 %if %{with tests}
@@ -30,8 +29,6 @@ RFCs and adds support for IRIs and URI templates.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
-%patch -P0 -p1
-
 %build
 %__gem_helper spec
 
@@ -44,7 +41,6 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
 cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
-cp -a data $RPM_BUILD_ROOT%{ruby_vendorlibdir}/%{pkgname}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,4 +49,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md CHANGELOG.md LICENSE.txt
 %{ruby_vendorlibdir}/%{pkgname}
+%{ruby_vendorlibdir}/%{pkgname}.rb
 %{ruby_specdir}/%{pkgname}-%{version}.gemspec
diff --git a/data-location.patch b/data-location.patch
deleted file mode 100644
index b5c0329..0000000
--- a/data-location.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./lib/addressable/idna/pure.rb~	2014-07-22 05:31:24.000000000 +0300
-+++ ./lib/addressable/idna/pure.rb	2015-08-10 16:46:57.117580861 +0300
-@@ -33,7 +33,7 @@
- 
- 
-     UNICODE_TABLE = File.expand_path(
--      File.join(File.dirname(__FILE__), '../../..', 'data/unicode.data')
-+      File.join(File.dirname(__FILE__), '..', 'data/unicode.data')
-     )
- 
-     ACE_PREFIX = "xn--"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-addressable.git/commitdiff/a76349e65e896df7873d435dd85f943c011b314f



More information about the pld-cvs-commit mailing list