[rubygem-htmlentities] Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Mamoru TASAKA mtasaka at fedoraproject.org
Fri Jun 6 05:32:37 UTC 2014


commit 674267d81c56ab1534f47c3b1bc3be4cc2a23dc9
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Fri Jun 6 14:32:43 2014 +0900

    Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

 .gitignore                |    1 +
 rubygem-htmlentities.spec |   20 ++++++--------------
 sources                   |    2 +-
 3 files changed, 8 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 741d89f..c40b8b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ htmlentities-4.2.0.gem
 /htmlentities-4.2.4.gem
 /htmlentities-4.3.0.gem
 /htmlentities-4.3.1.gem
+/htmlentities-4.3.2.gem
diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec
index 50c678c..24bc874 100644
--- a/rubygem-htmlentities.spec
+++ b/rubygem-htmlentities.spec
@@ -1,8 +1,4 @@
 # Generated from htmlentities-4.0.0.gem by gem2rpm -*- rpm-spec -*-
-%if 0%{?fedora} < 19
-%global	rubyabi		1.9.1
-%endif
-
 %global	gem_name		htmlentities
 
 # Some functions removed on 4.2.4. Please don't upgrade this rpm
@@ -10,22 +6,15 @@
 
 Summary:	A module for encoding and decoding (X)HTML entities
 Name:		rubygem-%{gem_name}
-Version:	4.3.1
-Release:	8%{?dist}
+Version:	4.3.2
+Release:	1%{?dist}
 Group:		Development/Languages
 License:	MIT
-URL:		http://htmlentities.rubyforge.org/
+URL:		https://github.com/threedaymonk/htmlentities
 Source0:	http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
-%if 0%{?fedora} >= 19
 Requires:	ruby(release)
 BuildRequires:	ruby(release)
-%else
-Requires:	ruby(abi) = %{rubyabi}
-Requires:	ruby 
-BuildRequires:	ruby(abi) = %{rubyabi}
-BuildRequires:	ruby 
-%endif
 
 BuildRequires:	rubygems-devel
 BuildRequires:	rubygem(test-unit)
@@ -75,6 +64,9 @@ rm -f %{buildroot}%{gem_instdir}/setup.rb
 
 %check
 pushd ./%{gem_instdir}/
+
+sed -i -e '2i gem "test-unit"' test/test_helper.rb
+
 for f in test/*.rb
 do
 	ruby -Ilib $f
diff --git a/sources b/sources
index e5e84ce..a25dfdb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-53a9218c02ef3671d6fc9fe843ebd360  htmlentities-4.3.1.gem
+cdf2299d1f9a656d49743f87b233db26  htmlentities-4.3.2.gem


More information about the scm-commits mailing list