From d97afe03485f170794feee96664f6f4ad0bbe3edcfd910aceb3addc875b4fe6d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 5 Jun 2013 17:33:40 +0000 Subject: [PATCH] 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 --- gem2rpm-fix-opensuse-template.diff | 11 ++++++----- rubygem-gem2rpm.changes | 5 +++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gem2rpm-fix-opensuse-template.diff b/gem2rpm-fix-opensuse-template.diff index b01003a..6bd726b 100644 --- a/gem2rpm-fix-opensuse-template.diff +++ b/gem2rpm-fix-opensuse-template.diff @@ -75,7 +75,7 @@ diff -ru gem2rpm-0.9.2.orig/lib/gem2rpm.rb gem2rpm-0.9.2/lib/gem2rpm.rb begin 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/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 @@ # -# 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 # 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/ # @@ -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| + 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 -+ COPYING.txt README.txt README README.md).each { |file| ++ %w(changes copying copying.txt history history.md history.txt legal.rdoc ++ 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}" -+ docdirfiles << file if path == file ++ docdirfiles << path if path.downcase == file + } + end + diff --git a/rubygem-gem2rpm.changes b/rubygem-gem2rpm.changes index 6d92ca5..f089375 100644 --- a/rubygem-gem2rpm.changes +++ b/rubygem-gem2rpm.changes @@ -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