Accepting request 177151 from devel:languages:ruby:extensions

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/177151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-gem2rpm?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2013-06-05 17:33:40 +00:00 committed by Git OBS Bridge
parent d34e5614e6
commit d97afe0348
2 changed files with 11 additions and 5 deletions

View File

@ -75,7 +75,7 @@ diff -ru gem2rpm-0.9.2.orig/lib/gem2rpm.rb gem2rpm-0.9.2/lib/gem2rpm.rb
begin begin
diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb
--- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200 --- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200
+++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-05-14 12:10:57.659712421 +0200 +++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-05-25 22:59:55.229799605 +0200
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
# #
-# spec file for package rubygem-<%= spec.name %> (Version <%= spec.version %>) -# spec file for package rubygem-<%= spec.name %> (Version <%= spec.version %>)
@ -86,7 +86,7 @@ diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,58 +15,161 @@ @@ -15,58 +15,162 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -181,10 +181,11 @@ diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/
+ %w(test spec).each { |framework| + %w(test spec).each { |framework|
+ test_frameworks[framework] = 1 if path.index(framework + "/") == 0 + test_frameworks[framework] = 1 if path.index(framework + "/") == 0
+ } + }
+ %w(LICENSE MIT-LICENSE LICENSE.md MIT-LICENSE.txt COPYING LICENSE.rdoc LEGAL.rdoc README.rdoc + %w(changes copying copying.txt history history.md history.txt legal.rdoc
+ COPYING.txt README.txt README README.md).each { |file| + license license.md license.rdoc mit-license changes.txt changes.md changelog.txt history.rdoc changelog.rdoc changelog.md
+ mit-license.txt readme readme.md readme.rdoc readme.txt).each { |file|
+ # $stderr.puts "PATH #{path} #{file}" + # $stderr.puts "PATH #{path} #{file}"
+ docdirfiles << file if path == file + docdirfiles << path if path.downcase == file
+ } + }
+ end + end
+ +

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 25 21:00:11 UTC 2013 - coolo@suse.com
- include changelog and history files too
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 7 09:34:43 UTC 2013 - coolo@suse.com Tue May 7 09:34:43 UTC 2013 - coolo@suse.com