[rubygem-sanitize] Update to 2.1.0

Achilleas Pipinellis axilleas at fedoraproject.org
Sat Jan 25 13:45:59 UTC 2014


commit c01f30f613fc8fbad51d6af22d3947632668b477
Author: Axilleas Pipinellis <axilleas at archlinux.gr>
Date:   Mon Jan 20 23:41:54 2014 +0000

    Update to 2.1.0

 .gitignore            |    1 +
 rubygem-sanitize.spec |   19 ++++++++++---------
 sources               |    2 +-
 3 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2932549..a97c7c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /sanitize-2.0.6.gem
+/sanitize-2.1.0.gem
diff --git a/rubygem-sanitize.spec b/rubygem-sanitize.spec
index d8dd1c5..14cde0f 100644
--- a/rubygem-sanitize.spec
+++ b/rubygem-sanitize.spec
@@ -2,19 +2,19 @@
 %global gem_name sanitize
 
 Name: rubygem-%{gem_name}
-Version: 2.0.6
-Release: 2%{?dist}
+Version: 2.1.0
+Release: 1%{?dist}
 Summary: Whitelist-based HTML sanitizer
 Group: Development/Languages
 License: MIT
 URL: https://github.com/rgrove/sanitize/
 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
 Requires: ruby(release)
-Requires: ruby(rubygems) >= 1.2.0
+Requires: rubygems
 Requires: rubygem(nokogiri) >= 1.4.4
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel >= 1.2.0
-BuildRequires: ruby >= 1.9.2
+BuildRequires: ruby
 BuildRequires: rubygem(minitest)
 BuildRequires: rubygem(nokogiri)
 BuildArch: noarch
@@ -45,8 +45,6 @@ gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
 # Create the gem as gem install only works on a gem file
 gem build %{gem_name}.gemspec
 
-# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
-# by default, so that we can move it into the buildroot in %%install
 %gem_install
 
 %install
@@ -68,14 +66,17 @@ popd
 
 %files doc
 %doc %{gem_docdir}
-%doc %{gem_instdir}/README.rdoc
+%doc %{gem_instdir}/README.md
 %doc %{gem_instdir}/HISTORY.md
 %{gem_instdir}/test/
 
 %changelog
-* Sat Jul 27 2013 Axilleas Pipinellis <axilleaspi at ymail.com> - 2.0.6-2
+* Sat Jan 25 2014 Achilleas Pipinellis <axilleaspi at ymail.com> - 2.1.0-1
+- Update to 2.1.0
+
+* Sat Jul 27 2013 Achilleas Pipinellis <axilleaspi at ymail.com> - 2.0.6-2
 - Tests don't need to be removed
 - Fix BR nokogiri to match upstream gemspec
 
-* Sat Jul 27 2013 Axilleas Pipinellis <axilleaspi at ymail.com> - 2.0.6-1
+* Sat Jul 27 2013 Achilleas Pipinellis <axilleaspi at ymail.com> - 2.0.6-1
 - Initial package
diff --git a/sources b/sources
index 6e3f440..b126bec 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d02f5dbe116f39875e549fc37565d53f  sanitize-2.0.6.gem
+de4969351643836ca2a48d010167ba03  sanitize-2.1.0.gem


More information about the scm-commits mailing list