commit rubygem-RedCloth for openSUSE:Factory

2016-05-28 Thread h_root
Hello community,

here is the log from the commit of package rubygem-RedCloth for 
openSUSE:Factory checked in at 2016-05-29 03:12:48

Comparing /work/SRC/openSUSE:Factory/rubygem-RedCloth (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new (New)


Package is "rubygem-RedCloth"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-RedCloth/rubygem-RedCloth.changes
2016-04-12 19:32:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new/rubygem-RedCloth.changes   
2016-05-29 03:13:48.0 +0200
@@ -1,0 +2,31 @@
+Thu May 26 04:28:21 UTC 2016 - co...@suse.com
+
+- updated to version 4.3.2
+ see installed CHANGELOG
+
+  == 4.3.2 / May 23rd, 2016
+  
+  * Fix additional case for CVE-2012-6684 [Joshua Siler]
+  
+  == 4.3.1 / May 17th, 2016
+  
+  * Fix additional case for CVE-2012-6684 [Joshua Siler]
+  
+  == 4.3.0 / April 29th, 2016
+  
+  * Remove JRuby and Windows cross compilation and support
+  * Add Ruby 2.2.3 testing and support
+  
+  * include CVE-2012-6684 fix [Tomas Pospisek]
+* fix by [Antonio Terceiro] 
+  * see 
http://sources.debian.net/src/ruby-redcloth/4.2.9-4/debian/patches/0001-Filter-out-javascript-links-when-using-filter_html-o.patch/
+* vulnerability reported by [Kousuke Ebihara] 
+  * see http://co3k.org/blog/redcloth-unfixed-xss-en
+  
+  == 4.2.9.1 / February 24, 2015
+  
+  * Lazy-load latex_entities.yml [Charlie Somerville]
+
+- obsoletes 0001-Filter-out-javascript-links-when-using-filter_html-o.patch
+
+---

Old:

  0001-Filter-out-javascript-links-when-using-filter_html-o.patch
  RedCloth-4.2.9.gem

New:

  RedCloth-4.3.2.gem



Other differences:
--
++ rubygem-RedCloth.spec ++
--- /var/tmp/diff_new_pack.Iyt4eU/_old  2016-05-29 03:13:49.0 +0200
+++ /var/tmp/diff_new_pack.Iyt4eU/_new  2016-05-29 03:13:49.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-RedCloth
-Version:4.2.9
+Version:4.3.2
 Release:0
 %define mod_name RedCloth
 %define mod_full_name %{mod_name}-%{version}
@@ -39,9 +39,6 @@
 Source1:rubygem-RedCloth-rpmlintrc
 Source2:series
 Source3:gem2rpm.yml
-# MANUAL
-Patch0: 0001-Filter-out-javascript-links-when-using-filter_html-o.patch
-# /MANUAL
 Summary:Textile parser for Ruby
 License:MIT
 Group:  Development/Languages/Ruby
@@ -51,10 +48,6 @@
 Textile parser for Ruby.
 
 %prep
-%gem_unpack
-%patch0 -p1
-find -type f -print0 | xargs -0 touch -r %{S:0}
-%gem_build
 
 %build
 

++ RedCloth-4.2.9.gem -> RedCloth-4.3.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG new/CHANGELOG
--- old/CHANGELOG   1970-01-01 01:00:00.0 +0100
+++ new/CHANGELOG   2016-05-24 02:29:39.0 +0200
@@ -1,3 +1,26 @@
+== 4.3.2 / May 23rd, 2016
+
+* Fix additional case for CVE-2012-6684 [Joshua Siler]
+
+== 4.3.1 / May 17th, 2016
+
+* Fix additional case for CVE-2012-6684 [Joshua Siler]
+
+== 4.3.0 / April 29th, 2016
+
+* Remove JRuby and Windows cross compilation and support
+* Add Ruby 2.2.3 testing and support
+
+* include CVE-2012-6684 fix [Tomas Pospisek]
+  * fix by [Antonio Terceiro] 
+* see 
http://sources.debian.net/src/ruby-redcloth/4.2.9-4/debian/patches/0001-Filter-out-javascript-links-when-using-filter_html-o.patch/
+  * vulnerability reported by [Kousuke Ebihara] 
+* see http://co3k.org/blog/redcloth-unfixed-xss-en
+
+== 4.2.9.1 / February 24, 2015
+
+* Lazy-load latex_entities.yml [Charlie Somerville]
+
 == 4.2.9 / November 25, 2011
 
 * Fix RbConfig / Config warning in Ruby 1.9.3. [Steve Purcell, Robert Gleeson, 
and unclaimedbaggage]
@@ -82,7 +105,7 @@
 * Accept multiline content in table cells. [Jason Garber]
 
 * Change to list attributes so you can give style/class to list items (taken 
from PyTextile).  Breaks backwards compatibility.
-  
+
   Before, the style applied to the first list item applied to the entire list. 
 Now, class/id/style placed
   before the list applies to the list element and after the hash or asterisk 
applies to the list item.  For
   example:
@@ -163,7 +186,7 @@
   To compile the jruby version of the gem: jruby -S rake compile
 
 * Added textilize ERB utility method. [edraut]
-  Use it in an ERB template like this: <%=t my_textile_string %> or 
+  Use it in an ERB template like this: <%=t my_textile_string %> or
   <%=r %{Some *textile* if you please!} %>
 
 * Fix extended blockcode stripping whitespace following blank line. #78
@@ -258,4 +281,4 @@
 
 * Over 500 tests prevent regression
 
-* It's 40 times faster than the previous version.
\ No newline at end of file
+* It's 40 times faster 

commit rubygem-RedCloth for openSUSE:Factory

2016-04-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-RedCloth for 
openSUSE:Factory checked in at 2016-04-12 19:32:38

Comparing /work/SRC/openSUSE:Factory/rubygem-RedCloth (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new (New)


Package is "rubygem-RedCloth"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-RedCloth/rubygem-RedCloth.changes
2015-08-27 08:57:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new/rubygem-RedCloth.changes   
2016-04-12 19:32:39.0 +0200
@@ -1,0 +2,5 @@
+Wed Mar 23 12:07:48 UTC 2016 - o...@aepfle.de
+
+- Force fixed timestamps for patched gems (bsc#916047)
+
+---



Other differences:
--
++ rubygem-RedCloth.spec ++
--- /var/tmp/diff_new_pack.u4ZNby/_old  2016-04-12 19:32:40.0 +0200
+++ /var/tmp/diff_new_pack.u4ZNby/_new  2016-04-12 19:32:40.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-RedCloth
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,10 +29,10 @@
 %define mod_name RedCloth
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{rubydevel}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:http://redcloth.org
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
@@ -53,6 +53,7 @@
 %prep
 %gem_unpack
 %patch0 -p1
+find -type f -print0 | xargs -0 touch -r %{S:0}
 %gem_build
 
 %build




commit rubygem-RedCloth for openSUSE:Factory

2015-08-26 Thread h_root
Hello community,

here is the log from the commit of package rubygem-RedCloth for 
openSUSE:Factory checked in at 2015-08-27 08:57:48

Comparing /work/SRC/openSUSE:Factory/rubygem-RedCloth (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new (New)


Package is "rubygem-RedCloth"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-RedCloth/rubygem-RedCloth.changes
2014-10-14 07:12:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new/rubygem-RedCloth.changes   
2015-08-27 08:57:52.0 +0200
@@ -1,0 +2,7 @@
+Mon Jun 15 17:23:23 UTC 2015 - mrueck...@suse.de
+
+- pulled patches from debian package for boo#912212 CVE-2012-6684
+  adds the following patch:
+  0001-Filter-out-javascript-links-when-using-filter_html-o.patch
+
+---

New:

  0001-Filter-out-javascript-links-when-using-filter_html-o.patch
  series



Other differences:
--
++ rubygem-RedCloth.spec ++
--- /var/tmp/diff_new_pack.ba3Y9y/_old  2015-08-27 08:57:52.0 +0200
+++ /var/tmp/diff_new_pack.ba3Y9y/_new  2015-08-27 08:57:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-RedCloth
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,34 @@
 #
 
 
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:   rubygem-RedCloth
 Version:4.2.9
 Release:0
 %define mod_name RedCloth
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{rubydevel}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:http://redcloth.org
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Source1:rubygem-RedCloth-rpmlintrc
-Source2:gem2rpm.yml
+Source2:series
+Source3:gem2rpm.yml
+# MANUAL
+Patch0:  0001-Filter-out-javascript-links-when-using-filter_html-o.patch
+# /MANUAL
 Summary:Textile parser for Ruby
-License:BSD-3-Clause
+License:MIT
 Group:  Development/Languages/Ruby
 PreReq: update-alternatives
 
@@ -40,6 +51,9 @@
 Textile parser for Ruby.
 
 %prep
+%gem_unpack
+%patch0 -p1
+%gem_build
 
 %build
 

++ 0001-Filter-out-javascript-links-when-using-filter_html-o.patch ++
>From b3d82f0c3a354a2f589e1fd43f5f1d7e427b530e Mon Sep 17 00:00:00 2001
From: Antonio Terceiro 
Date: Sat, 7 Feb 2015 23:27:39 -0200
Subject: [PATCH] Filter out 'javascript:' links when using filter_html or
 sanitize_html

This is a fix for CVE-2012-6684
---
 lib/redcloth/formatters/html.rb |  6 +-
 spec/security/CVE-2012-6684_spec.rb | 14 ++
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 spec/security/CVE-2012-6684_spec.rb

diff --git a/lib/redcloth/formatters/html.rb b/lib/redcloth/formatters/html.rb
index bfadfb7..b8793b2 100644
--- a/lib/redcloth/formatters/html.rb
+++ b/lib/redcloth/formatters/html.rb
@@ -111,7 +111,11 @@ module RedCloth::Formatters::HTML
   end
   
   def link(opts)
-"#{opts[:name]}"
+if (filter_html || sanitize_html) && opts[:href] =~ /^\s*javascript:/
+  opts[:name]
+else
+  "#{opts[:name]}"
+end
   end
   
   def image(opts)
diff --git a/spec/security/CVE-2012-6684_spec.rb 
b/spec/security/CVE-2012-6684_spec.rb
new file mode 100644
index 000..05219fd
--- /dev/null
+++ b/spec/security/CVE-2012-6684_spec.rb
@@ -0,0 +1,14 @@
+# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6684
+
+require 'redcloth'
+
+describe 'CVE-2012-6684' do
+
+  it 'should not let javascript links pass through' do
+# PoC from http://co3k.org/blog/redcloth-unfixed-xss-en
+output = RedCloth.new('["clickme":javascript:alert(%27XSS%27)]', 
[:filter_html, :filter_styles, :filter_classes, :filter_ids]).to_html
+expect(output).to_not match(/href=.javascript:alert/)
+  end
+
+
+end
-- 
2.1.4

++ gem2rpm.yml ++
--- /var/tmp/diff_new_pack.ba3Y9y/_old  2015-08-27 08:57:52.0 +0200
+++ /var/tmp/diff_new_pack.ba3Y9y/_new  2015-08-27 08:57:52.0 +0200
@@ -1,7 +1,7 @@
 # ---
 # ## used by gem2rpm
-:summary: Textile parser for Ruby
-#  ## used by gem2rpm
+# :summary: this is 

commit rubygem-RedCloth for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-RedCloth for 
openSUSE:Factory checked in at 2014-10-14 07:11:39

Comparing /work/SRC/openSUSE:Factory/rubygem-RedCloth (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new (New)


Package is "rubygem-RedCloth"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-RedCloth/rubygem-RedCloth.changes
2014-02-12 20:54:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new/rubygem-RedCloth.changes   
2014-10-14 07:12:26.0 +0200
@@ -1,0 +2,5 @@
+Mon Oct 13 05:27:46 UTC 2014 - co...@suse.com
+
+- adapt to new rubygem packaging
+
+---

New:

  gem2rpm.yml



Other differences:
--
++ rubygem-RedCloth.spec ++
--- /var/tmp/diff_new_pack.lhDdXm/_old  2014-10-14 07:12:26.0 +0200
+++ /var/tmp/diff_new_pack.lhDdXm/_new  2014-10-14 07:12:26.0 +0200
@@ -21,17 +21,16 @@
 Release:0
 %define mod_name RedCloth
 %define mod_full_name %{mod_name}-%{version}
-%define mod_branch -%{version}
-%define mod_weight 40209
-
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  fastjar
-BuildRequires:  ruby-devel
-BuildRequires:  ruby-macros >= 3
+BuildRequires:  %{rubydevel}
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
-BuildRequires:  rubygem(rdoc) > 3.10
 Url:http://redcloth.org
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:rubygem-RedCloth-rpmlintrc
+Source2:gem2rpm.yml
 Summary:Textile parser for Ruby
 License:BSD-3-Clause
 Group:  Development/Languages/Ruby
@@ -40,70 +39,17 @@
 %description
 Textile parser for Ruby.
 
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
-
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
+%gem_install \
+  --symlink-binaries \
+  --doc-files="CHANGELOG COPYING README.rdoc" \
+  -f
 %gem_cleanup
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/redcloth{,%{mod_branch}}
-touch %{buildroot}%{_sysconfdir}/alternatives/redcloth
-ln -s %{_sysconfdir}/alternatives/redcloth %{buildroot}%{_bindir}/redcloth
-
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG 
%buildroot/%{_docdir}/%{name}/CHANGELOG
-ln -s %{gem_base}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
-ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
-
-%post
-/usr/sbin/update-alternatives --install \
-%{_bindir}/redcloth redcloth %{_bindir}/redcloth%{mod_branch} %{mod_weight}
-
-%preun
-if [ "$1" = 0 ] ; then
-/usr/sbin/update-alternatives --remove redcloth 
%{_bindir}/redcloth%{mod_branch}
-fi
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{_bindir}/redcloth%{mod_branch}
-%{_bindir}/redcloth
-%ghost %{_sysconfdir}/alternatives/redcloth
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%{gem_extensions}/%{mod_full_name}
-%exclude %{gem_base}/gems/%{mod_full_name}/spec
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
-
-%files testsuite
-%defattr(-,root,root,-)
-%{gem_base}/gems/%{mod_full_name}/spec
+
+%gem_packages
 
 %changelog

++ gem2rpm.yml ++
# ---
# ## used by gem2rpm
:summary: Textile parser for Ruby
#  ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
#   BuildRequires: foobar
#   Requires: foobar
# ## used by gem2rpm
# :patches:
#   foo.patch: -p1
#   bar.patch: 
# ## used by gem2rpm
:sources: 
 - rubygem-RedCloth-rpmlintrc
# - foo.desktop
# - bar.desktop
# :gem_install_args: ''
# ## used by gem2rpm
# :pre_install: |-
#   %if 0%{?use_system_libev}
#   export USE_VENDORED_LIBEV="no"
#   %endif
# ## used by gem2rpm

commit rubygem-RedCloth for openSUSE:Factory

2014-02-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-RedCloth for 
openSUSE:Factory checked in at 2014-02-12 20:54:29

Comparing /work/SRC/openSUSE:Factory/rubygem-RedCloth (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new (New)


Package is "rubygem-RedCloth"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-RedCloth/rubygem-RedCloth.changes
2012-07-23 10:39:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new/rubygem-RedCloth.changes   
2014-02-12 20:54:30.0 +0100
@@ -1,0 +2,5 @@
+Sat Jan 18 13:36:53 UTC 2014 - co...@suse.com
+
+- use new macros
+
+---



Other differences:
--
++ rubygem-RedCloth.spec ++
--- /var/tmp/diff_new_pack.cP05ni/_old  2014-02-12 20:54:30.0 +0100
+++ /var/tmp/diff_new_pack.cP05ni/_new  2014-02-12 20:54:30.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-RedCloth
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,20 +21,21 @@
 Release:0
 %define mod_name RedCloth
 %define mod_full_name %{mod_name}-%{version}
-#
-#
+%define mod_branch -%{version}
+%define mod_weight 40209
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fastjar
-BuildRequires:  fdupes
-BuildRequires:  rubygems_with_buildroot_patch
-%rubygems_requires
-#
+BuildRequires:  ruby-devel
+BuildRequires:  ruby-macros >= 3
+BuildRequires:  update-alternatives
+BuildRequires:  rubygem(rdoc) > 3.10
 Url:http://redcloth.org
-Source: %{mod_full_name}.gem
-#
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Textile parser for Ruby
 License:BSD-3-Clause
 Group:  Development/Languages/Ruby
+PreReq: update-alternatives
 
 %description
 Textile parser for Ruby.
@@ -57,29 +58,52 @@
 Test::Unit or RSpec files, useful for developers.
 
 %prep
+#gem_unpack
+#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
+#gem_build
+
 %build
+
 %install
-%gem_install %{S:0}
+%gem_install -f
 %gem_cleanup
-%fdupes 
%{buildroot}/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
-
-%clean
-%{__rm} -rf %{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+mv %{buildroot}%{_bindir}/redcloth{,%{mod_branch}}
+touch %{buildroot}%{_sysconfdir}/alternatives/redcloth
+ln -s %{_sysconfdir}/alternatives/redcloth %{buildroot}%{_bindir}/redcloth
+
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG 
%buildroot/%{_docdir}/%{name}/CHANGELOG
+ln -s %{gem_base}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
+ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
+
+%post
+/usr/sbin/update-alternatives --install \
+%{_bindir}/redcloth redcloth %{_bindir}/redcloth%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+/usr/sbin/update-alternatives --remove redcloth 
%{_bindir}/redcloth%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
+%{_bindir}/redcloth%{mod_branch}
 %{_bindir}/redcloth
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%ghost %{_sysconfdir}/alternatives/redcloth
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%{gem_extensions}/%{mod_full_name}
+%exclude %{gem_base}/gems/%{mod_full_name}/spec
+%{gem_base}/specifications/%{mod_full_name}.gemspec
 
 %files doc
 %defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
 
 %files testsuite
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
+%{gem_base}/gems/%{mod_full_name}/spec
 
 %changelog


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-RedCloth for openSUSE:Factory

2012-07-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-RedCloth for 
openSUSE:Factory checked in at 2012-07-23 10:39:38

Comparing /work/SRC/openSUSE:Factory/rubygem-RedCloth (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new (New)


Package is "rubygem-RedCloth", Maintainer is "mrueck...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-RedCloth/rubygem-RedCloth.changes
2012-02-16 10:10:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new/rubygem-RedCloth.changes   
2012-07-23 10:39:40.0 +0200
@@ -1,0 +2,7 @@
+Tue Jul 17 09:55:23 UTC 2012 - co...@suse.com
+
+- update to 4.2.9
+ * Fix RbConfig / Config warning in Ruby 1.9.3. [Steve Purcell, Robert 
Gleeson, and unclaimedbaggage]
+ * Use RSTRING_NOT_MODIFIED header for Rubinius [Dirkjan Bussink]
+
+---

Old:

  RedCloth-4.2.8.gem

New:

  RedCloth-4.2.9.gem



Other differences:
--
++ rubygem-RedCloth.spec ++
--- /var/tmp/diff_new_pack.4O7S3x/_old  2012-07-23 10:39:42.0 +0200
+++ /var/tmp/diff_new_pack.4O7S3x/_new  2012-07-23 10:39:42.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-RedCloth
-Version:4.2.8
+Version:4.2.9
 Release:0
 %define mod_name RedCloth
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-RedCloth for openSUSE:Factory

2012-02-16 Thread h_root
Hello community,

here is the log from the commit of package rubygem-RedCloth for 
openSUSE:Factory checked in at 2012-02-16 10:10:11

Comparing /work/SRC/openSUSE:Factory/rubygem-RedCloth (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new (New)


Package is "rubygem-RedCloth", Maintainer is "mrueck...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-RedCloth/rubygem-RedCloth.changes
2011-09-23 12:44:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-RedCloth.new/rubygem-RedCloth.changes   
2012-02-16 10:10:19.0 +0100
@@ -1,0 +2,38 @@
+Mon Feb 13 10:55:09 UTC 2012 - co...@suse.com
+
+- patch license to follow spdx.org standard
+
+---
+Sun Sep 18 00:27:41 UTC 2011 - mrueck...@suse.de
+
+- update to version 4.2.8
+  * Do not treat warnings as errors so it compiles cleanly.
+[Tomasz WaƂkuski]
+
+---
+Wed Jul 27 14:02:55 UTC 2011 - fcaste...@novell.com
+
+- Fix build on SLE
+
+---
+Thu Jul 21 12:05:08 UTC 2011 - fcaste...@novell.com
+
+- update to version 4.2.7
+  * Fixed typo in gemspec to make case-sensitive require
+work. [Gabe da Silveira]
+  * Tested installing the gem and requiring it with both cases on
+Ubuntu 8.04, 10.10 and OS X Version 10.6.6.
+  * Have spaces around the en-dash in LaTeX [Benjamin Quorning]
+  * Turned double-quote close to smart quotes in LaTeX [Jonathan D. Blake]
+  * Add case-sensitive require back into the gemspec.
+  * Fix rdoc options in gemspec.
+  * Fix bundler and rubygems-test incompatibilities. Working around bug:
+  https://github.com/carlhuda/bundler/issues/issue/1021
+  * Add .gemtest to opt-in to rubygems-test program (gem install
+rubygems-test to participate)
+  * Allow attributes to be set on hr and br tags [Jesse Stormier]
+  * Fix dangling  [Stephen Bannasch]
+  * Switch to bundler and rake-compiler for gem management/compilation
+  * Fix invalid YAML for Ruby 1.9.2 [Aaron Patterson]- 
+
+---

Old:

  RedCloth-4.2.3.gem

New:

  RedCloth-4.2.8.gem



Other differences:
--
++ rubygem-RedCloth.spec ++
--- /var/tmp/diff_new_pack.zNxKTj/_old  2012-02-16 10:10:20.0 +0100
+++ /var/tmp/diff_new_pack.zNxKTj/_new  2012-02-16 10:10:20.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package rubygem-RedCloth (Version 4.2.3)
+# spec file for package rubygem-RedCloth
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,70 +15,53 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   rubygem-RedCloth
-Version:4.2.3
-Release:1
+Version:4.2.8
+Release:0
 %define mod_name RedCloth
+%define mod_full_name %{mod_name}-%{version}
 #
-Group:  Development/Languages/Ruby
-License:BSD3c
 #
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fastjar
+BuildRequires:  fdupes
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
-
-Requires:   ruby >= 1.8.4
-BuildRequires:  ruby-devel >= 1.8.4
 #
 Url:http://redcloth.org
-Source: %{mod_name}-%{version}.gem
-Source1:rubygem-RedCloth-rpmlintrc
+Source: %{mod_full_name}.gem
 #
-Summary:RedCloth is a module for using Textile and Markdown in Ruby
+Summary:Textile parser for Ruby
+License:BSD-3-Clause
+Group:  Development/Languages/Ruby
 
 %description
-Textile and Markdown are text formats. A very simple text format.
-Another stab at making readable text that can be converted to HTML.
-
-No need to use verbose HTML to build your docs, your blogs, your pages.
- Textile gives you readable text while you're writing and beautiful
-text for your readers. And if you need to break out into HTML, Textile
-will allow you to do so. Textile also handles some subtleties of
-formatting which will enhance your document's readability:
-
-* Single- and double-quotes around words or phrases are converted to
-   curly quotations, much easier on the eye.  "Observe!"
-
-* Double hyphens are replaced with an em-dash. Observe -- very
-   nice!
-
-* Single hyphens are replaced with en-dashes. Observe - so cute!
-
-* Triplets of periods become an ellipsis.  Observe...
-
+Textile parser for Ruby.
 
-_(TM)== to (TM), ==(R)== to (R), ==(C)_
+%p