commit rubygem-rack-1_3 for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rack-1_3 for 
openSUSE:Factory checked in at 2014-11-24 11:13:00

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


Package is rubygem-rack-1_3

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rack-1_3/rubygem-rack-1_3.changes
2013-05-13 20:50:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rack-1_3.new/rubygem-rack-1_3.changes   
2014-11-24 11:13:01.0 +0100
@@ -1,0 +2,7 @@
+Sat Nov  1 23:18:30 UTC 2014 - tboer...@suse.com
+
+- Added new ruby macros
+- Fixed all rpmlintrc errors to prevent failing builds with
+  multiple ruby versions
+
+---

New:

  gem2rpm.yml
  rubygem-rack-1_3-rpmlintrc



Other differences:
--
++ rubygem-rack-1_3.spec ++
--- /var/tmp/diff_new_pack.ajIVag/_old  2014-11-24 11:13:02.0 +0100
+++ /var/tmp/diff_new_pack.ajIVag/_new  2014-11-24 11:13:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rack-1_3
 #
-# Copyright (c) 2013 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
@@ -16,21 +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-rack-1_3
 Version:1.3.10
 Release:0
 %define mod_name rack
 %define mod_full_name %{mod_name}-%{version}
-
+%define mod_version_suffix -1_3
+# MANUAL
+BuildRequires:  fdupes
+# /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros = 5
+BuildRequires:  update-alternatives
 Url:http://rack.github.com/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
-Summary:a modular Ruby webserver interface
+Source1:rubygem-rack-1_3-rpmlintrc
+Source2:gem2rpm.yml
+Summary:A modular Ruby webserver interface
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -%{version}
-%define mod_weight 1
 PreReq: update-alternatives
 
 %description
@@ -41,63 +54,19 @@
 middleware) into a single method call.
 Also see http://rack.github.com/.
 
-%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
-mv %{buildroot}%{_bindir}/rackup{,%{mod_branch}}
-ln -s rackup%{mod_branch} %{buildroot}%{_bindir}/rackup
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
-
-%post
-/usr/sbin/update-alternatives --install \
-%{_bindir}/rackup rackup %{_bindir}/rackup%{mod_branch} %{mod_weight}
-
-%preun
-if [ $1 = 0 ] ; then
-/usr/sbin/update-alternatives --remove rackup 
%{_bindir}/rackup%{mod_branch}
-fi
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{_bindir}/rackup%{mod_branch}
-%ghost %{_bindir}/rackup
-%{_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}/test
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
-
-%files testsuite
-%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%gem_install \
+  --symlink-binaries \
+  --doc-files=COPYING README.rdoc \
+  -f
+# MANUAL
+%fdupes %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/
+# /MANUAL
+
+%gem_packages
 
 %changelog

++ gem2rpm.yml ++

commit rubygem-rack-1_3 for openSUSE:Factory

2013-05-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rack-1_3 for 
openSUSE:Factory checked in at 2013-05-13 20:50:36

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


Package is rubygem-rack-1_3

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rack-1_3/rubygem-rack-1_3.changes
2013-04-02 13:10:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rack-1_3.new/rubygem-rack-1_3.changes   
2013-05-13 20:50:37.0 +0200
@@ -1,0 +2,5 @@
+Mon May 13 11:26:57 UTC 2013 - co...@suse.com
+
+- add license link
+
+---



Other differences:
--
++ rubygem-rack-1_3.spec ++
--- /var/tmp/diff_new_pack.umEmCd/_old  2013-05-13 20:50:38.0 +0200
+++ /var/tmp/diff_new_pack.umEmCd/_new  2013-05-13 20:50:38.0 +0200
@@ -29,7 +29,7 @@
 Summary:a modular Ruby webserver interface
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -1.3.10
+%define mod_branch -%{version}
 %define mod_weight 1
 PreReq: update-alternatives
 
@@ -69,6 +69,9 @@
 %gem_install -f
 mv %{buildroot}%{_bindir}/rackup{,%{mod_branch}}
 ln -s rackup%{mod_branch} %{buildroot}%{_bindir}/rackup
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -81,6 +84,7 @@
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_bindir}/rackup%{mod_branch}
 %ghost %{_bindir}/rackup
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem


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



commit rubygem-rack-1_3 for openSUSE:Factory

2013-04-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rack-1_3 for 
openSUSE:Factory checked in at 2013-04-02 13:10:48

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


Package is rubygem-rack-1_3, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rack-1_3/rubygem-rack-1_3.changes
2012-03-24 23:26:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rack-1_3.new/rubygem-rack-1_3.changes   
2013-04-02 13:10:49.0 +0200
@@ -1,0 +2,5 @@
+Sat Mar 23 08:00:33 UTC 2013 - co...@suse.com
+
+- updated to version 1.3.10
+
+---

Old:

  rack-1.3.5.gem

New:

  rack-1.3.10.gem



Other differences:
--
++ rubygem-rack-1_3.spec ++
--- /var/tmp/diff_new_pack.QddKOb/_old  2013-04-02 13:10:51.0 +0200
+++ /var/tmp/diff_new_pack.QddKOb/_new  2013-04-02 13:10:51.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rack-1_3
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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,24 +15,23 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   rubygem-rack-1_3
-Version:1.3.5
+Version:1.3.10
 Release:0
-License:MIT
-Summary:A modular Ruby webserver interface
-Url:http://rack.rubyforge.org
-Group:  Development/Languages/Ruby
 %define mod_name rack
 %define mod_full_name %{mod_name}-%{version}
-%define mod_branch -1_3
-%define mod_weight 13
-Source: %{mod_full_name}.gem
-BuildRequires:  rubygems_with_buildroot_patch
-Requires(pre):  update-alternatives
-Provides:   rubygem-%{mod_name}-1 = %{version}
-Provides:   rubygem-%{mod_name} = %{version}
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%rubygems_requires
+BuildRequires:  ruby-macros = 1
+Url:http://rack.github.com/
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Summary:a modular Ruby webserver interface
+License:MIT
+Group:  Development/Languages/Ruby
+%define mod_branch -1.3.10
+%define mod_weight 1
+PreReq: update-alternatives
 
 %description
 Rack provides minimal, modular and adaptable interface for developing
@@ -40,8 +39,7 @@
 the simplest way possible, it unifies and distills the API for web
 servers, web frameworks, and software in between (the so-called
 middleware) into a single method call.
-
-Also see http://rack.rubyforge.org.
+Also see http://rack.github.com/.
 
 %package doc
 Summary:RDoc documentation for %{mod_name}
@@ -61,15 +59,16 @@
 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 %{SOURCE0}
+%gem_install -f
 mv %{buildroot}%{_bindir}/rackup{,%{mod_branch}}
-ln -s rackup %{buildroot}%{_bindir}/rackup
-# make sure it installs the right version when using rackup-*
-ruby -p -i.bak -e '$_.gsub!(/= 0/, = %{version})' 
%{buildroot}%{_bindir}/rackup%{mod_branch}
-diff -urN %{buildroot}%{_bindir}/rackup%{mod_branch}{.bak,} || :
-rm %{buildroot}%{_bindir}/rackup%{mod_branch}.bak
+ln -s rackup%{mod_branch} %{buildroot}%{_bindir}/rackup
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -82,8 +81,8 @@
 
 %files
 %defattr(-,root,root,-)
-%ghost %config(noreplace) %{_bindir}/rackup
 %{_bindir}/rackup%{mod_branch}
+%ghost %{_bindir}/rackup
 %{_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}/test

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



commit rubygem-rack-1_3 for openSUSE:Factory

2012-03-24 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rack-1_3 for 
openSUSE:Factory checked in at 2012-03-24 20:10:38

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


Package is rubygem-rack-1_3, Maintainer is mrueck...@suse.com

Changes:

New Changes file:

--- /dev/null   2012-03-17 10:42:43.883537212 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rack-1_3.new/rubygem-rack-1_3.changes   
2012-03-24 23:26:20.0 +0100
@@ -0,0 +1,77 @@
+---
+Fri Mar 23 10:35:09 UTC 2012 - sasc...@suse.de
+
+- Spec file cleanup:
+  * Prepare for Factory
+
+---
+Thu Nov  3 16:32:15 UTC 2011 - mrueck...@suse.de
+
+- Update to 1.3.5 (bnc#727772)
+  - Fix annoying warnings caused by the backport in 1.3.4
+
+---
+Thu Oct  6 16:09:59 UTC 2011 - fcaste...@suse.com
+
+- Update to 1.3.4
+  - Fix bug with broken query parameters in Rack::ShowExceptions
+  - Rack::Request#cookies no longer swallows exceptions on broken input
+  - Prevents XSS attacks enabled by bug in Ruby 1.8’s regexp engine
+  - Rack::ConditionalGet handles broken If-Modified-Since helpers
+  - Fix a bug with MRI regex engine to prevent XSS by malformed unicode
+  - Backport security fix from 1.9.3, also fixes some roundtrip issues in URI
+  - Small documentation update
+  - Fix an issue where BodyProxy could cause an infinite recursion
+  - Add some supporting files for travis-ci
+
+---
+Mon Sep 12 13:53:34 UTC 2011 - mrueck...@suse.de
+
+- provide the single digit versioned named aswell
+
+---
+Mon Aug  1 16:40:15 UTC 2011 - mrueck...@suse.de
+
+- update to 1.3.2
+  - fix whitespace errors
+  - Add .rdoc extension so GitHub can apply formatting
+  - Restore Ruby 1.9.1 compatibility
+  - Fix a regression caused by [82]f043f32
+  - Fix Rack::Utils.escape in the case when $KCODE='U'
+  - Sigh, thinking backports was a bad idea
+  - fix Rack::Lock, use same logic for Rack::CommonLogger
+  - allow passing in rack.session in tests (used to work
+previously)
+  - nicer method_missings
+  - fix typo
+  - BasicObject does not define respond_to?
+  - fix BodyProxy#close
+  - let Rack::BodyProxy raise an IOError (like IO and StringIO do)
+when ca...
+  - more tests for Rack::BodyProxy
+  - block should not be called if IOError raised
+  - update core team list
+  - simpler, dry implementation for HeaderHash#to_hash, fixes
+[122]#177
+  - fix typo
+  - make sure the Cache-Control header can never be nil
+  - Minor error in documentation regarding the order of parameters
+in HTTP...
+  - call #close on body in mock responses
+  - test for Rack::Response#close
+  - Have MockRequest call close on the body rather than
+MockResponse.
+  - prepare readme for 1.3.1
+  - update changes
+  - Edited lib/rack/sendfile.rb via GitHub
+  - Fixed a Regexp bug that can DoS your box.
+  - Merge pull request [156]#206 from
+brendan/19451fc0463ec424fa368cac05be15c75...
+  - Update readme pending patch release
+  - Rack::Utils.escape should work with symbols in Ruby 1.8.7
+
+---
+Fri Jun 17 14:11:39 UTC 2011 - mrueck...@suse.de
+
+- initial package of the 1.3 branch (1.3.0)
+

New:

  rack-1.3.5.gem
  rubygem-rack-1_3.changes
  rubygem-rack-1_3.spec



Other differences:
--
++ rubygem-rack-1_3.spec ++
#
# spec file for package rubygem-rack-1_3
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:   rubygem-rack-1_3
Version:1.3.5
Release:0
License:MIT
Summary:A modular Ruby webserver interface
Url:http://rack.rubyforge.org
Group:  Development/Languages/Ruby
%define mod_name rack
%define mod_full_name %{mod_name}-%{version}
%define mod_branch -1_3
%define