[packages/ruby-hpricot] use updated setup.rb

glen glen at pld-linux.org
Thu Oct 26 19:23:49 CEST 2017


commit 8348e71d215422f0b469473df702233670a33a1a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Oct 26 20:23:39 2017 +0300

    use updated setup.rb

 ruby-hpricot.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/ruby-hpricot.spec b/ruby-hpricot.spec
index 265fe95..18e4153 100644
--- a/ruby-hpricot.spec
+++ b/ruby-hpricot.spec
@@ -7,16 +7,16 @@ Summary:	A fast and easy HTML parser
 Summary(pl.UTF-8):	Szybki i prosty analizator HTML-a
 Name:		ruby-%{pkgname}
 Version:	0.8.6
-Release:	4
+Release:	5
 License:	MIT
 Group:		Development/Languages
-Source0:	http://github.com/hpricot/hpricot/tarball/%{version}/%{name}-%{version}.tar.gz
+Source0:	https://github.com/hpricot/hpricot/tarball/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	e11ebb954ffebc56d54e3be7ada373ca
-URL:		http://hpricot.com/
-BuildRequires:	rpm-rubyprov
+URL:		https://rubygems.org/gems/hpricot
 BuildRequires:	rpmbuild(macros) >= 1.665
 BuildRequires:	ruby-devel
 BuildRequires:	ruby-modules
+BuildRequires:	setup.rb >= 3.4.1-6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,6 +35,8 @@ pomysły, aby uczynić Hpricota najprzyjemniejszym w użyciu.
 %setup -qc
 mv hpricot-hpricot-*/* .
 
+cp %{_datadir}/setup.rb .
+
 cd ext/hpricot_scan
 ls *.c *.h > MANIFEST
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-hpricot.git/commitdiff/8348e71d215422f0b469473df702233670a33a1a



More information about the pld-cvs-commit mailing list