17
0

Accepting request 451286 from home:coolo:branches:devel:languages:ruby:extensions

update

OBS-URL: https://build.opensuse.org/request/show/451286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-diff-lcs?expand=0&rev=18
This commit is contained in:
Stephan Kulow
2017-01-19 06:39:30 +00:00
committed by Git OBS Bridge
parent 807cf29420
commit 012aaf2dcc
4 changed files with 19 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package rubygem-diff-lcs
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -24,17 +24,17 @@
#
Name: rubygem-diff-lcs
Version: 1.2.5
Version: 1.3
Release: 0
%define mod_name diff-lcs
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{ruby >= 1.8}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
Url: http://diff-lcs.rubyforge.org/
Url: https://github.com/halostatue/diff-lcs
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
# MANUAL
@@ -49,13 +49,11 @@ PreReq: update-alternatives
Diff::LCS computes the difference between two Enumerable sequences using the
McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities
to create a simple HTML diff output format and a standard diff-like tool.
This is release 1.2.4, fixing a bug introduced after diff-lcs 1.1.3 that did
not properly prune common sequences at the beginning of a comparison set.
Thanks to Paul Kunysch for fixing this issue.
Coincident with the release of diff-lcs 1.2.3, we reported an issue with
Rubinius in 1.9 mode
({rubinius/rubinius#2268}[https://github.com/rubinius/rubinius/issues/2268]).
We are happy to report that this issue has been resolved.
This is release 1.3, providing a tentative fix to a long-standing issue
related
to incorrect detection of a patch direction. Also modernizes the gem
infrastructure, testing infrastructure, and provides a warning-free experience
to Ruby 2.4 users.
%prep
%gem_unpack
@@ -68,7 +66,7 @@ find -type f -print0 | xargs -0 touch -r %{S:0}
%install
%gem_install \
--symlink-binaries \
--doc-files="History.rdoc License.rdoc README.rdoc" \
--doc-files="History.md License.md README.rdoc" \
-f
%gem_packages