![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package rubygem-diff-lcs for openSUSE:Factory checked in at 2014-11-15 11:40:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-diff-lcs (Old) and /work/SRC/openSUSE:Factory/.rubygem-diff-lcs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-diff-lcs" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-diff-lcs/rubygem-diff-lcs.changes 2013-11-24 18:12:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-diff-lcs.new/rubygem-diff-lcs.changes 2014-11-15 12:27:32.000000000 +0100 @@ -1,0 +2,13 @@ +Mon Nov 10 12:31:22 UTC 2014 - tboerger@suse.com + +- Renamed fix-interpreter.diff to fix-interpreter.patch +- Added gem2rpm.yml + - Fixed license list + - Added patch again + +------------------------------------------------------------------- +Mon Nov 10 11:11:09 UTC 2014 - tboerger@suse.com + +- Added new ruby macros with gem2rpm + +------------------------------------------------------------------- Old: ---- fix-interpreter.diff New: ---- fix-interpreter.patch gem2rpm.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-diff-lcs.spec ++++++ --- /var/tmp/diff_new_pack.uiOwyv/_old 2014-11-15 12:27:33.000000000 +0100 +++ /var/tmp/diff_new_pack.uiOwyv/_new 2014-11-15 12:27:33.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-diff-lcs # -# 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,23 +16,33 @@ # +# +# 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-diff-lcs Version: 1.2.5 Release: 0 %define mod_name diff-lcs %define mod_full_name %{mod_name}-%{version} - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 1 -BuildRequires: rubygem(rdoc) > 3.10 +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 +BuildRequires: update-alternatives Url: http://diff-lcs.rubyforge.org/ Source: http://rubygems.org/gems/%{mod_full_name}.gem -Patch1: fix-interpreter.diff +Source1: gem2rpm.yml +# MANUAL +Patch0: fix-interpreter.patch +# /MANUAL Summary: Diff::LCS computes the difference between two Enumerable sequences -License: GPL-2.0+ or Ruby +License: MIT and Artistic-2.0 and GPL-2.0 Group: Development/Languages/Ruby -%define mod_branch -1.2.4 -%define mod_weight 1 PreReq: update-alternatives %description @@ -47,69 +57,19 @@ ({rubinius/rubinius#2268}[https://github.com/rubinius/rubinius/issues/2268]). We are happy to report that this issue has been resolved. -%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 -# MANUAL %gem_unpack -%patch1 -p1 +%patch0 -p1 %gem_build %build %install -%gem_install -f -mv %{buildroot}%{_bindir}/htmldiff{,%{mod_branch}} -ln -s htmldiff%{mod_branch} %{buildroot}%{_bindir}/htmldiff -mv %{buildroot}%{_bindir}/ldiff{,%{mod_branch}} -ln -s ldiff%{mod_branch} %{buildroot}%{_bindir}/ldiff - -%post -/usr/sbin/update-alternatives --install \ - %{_bindir}/htmldiff htmldiff %{_bindir}/htmldiff%{mod_branch} %{mod_weight} -/usr/sbin/update-alternatives --install \ - %{_bindir}/ldiff ldiff %{_bindir}/ldiff%{mod_branch} %{mod_weight} - -%preun -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove htmldiff %{_bindir}/htmldiff%{mod_branch} -fi -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove ldiff %{_bindir}/ldiff%{mod_branch} -fi - -%files -%defattr(-,root,root,-) -%{_bindir}/htmldiff%{mod_branch} -%ghost %{_bindir}/htmldiff -%{_bindir}/ldiff%{mod_branch} -%ghost %{_bindir}/ldiff -%{_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 - -%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}/spec +%gem_install \ + --symlink-binaries \ + --doc-files="History.rdoc License.rdoc README.rdoc" \ + -f + +%gem_packages %changelog ++++++ fix-interpreter.patch ++++++ Index: diff-lcs-1.1.3/bin/htmldiff =================================================================== --- diff-lcs-1.1.3.orig/bin/htmldiff +++ diff-lcs-1.1.3/bin/htmldiff @@ -1,4 +1,4 @@ -#!ruby -w +#!/usr/bin/ruby -w require 'diff/lcs' require 'diff/lcs/htmldiff' Index: diff-lcs-1.1.3/bin/ldiff =================================================================== --- diff-lcs-1.1.3.orig/bin/ldiff +++ diff-lcs-1.1.3/bin/ldiff @@ -1,4 +1,4 @@ -#!ruby -w +#!/usr/bin/ruby -w require 'diff/lcs' require 'diff/lcs/ldiff' ++++++ gem2rpm.yml ++++++ :license: MIT and Artistic-2.0 and GPL-2.0 :patches: fix-interpreter.patch: -p1 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org