From f28a8e8a7b867c3ef5ca78fc8a0544c7747277c791ae27522217b085fef1c0db Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 23 Aug 2015 14:12:33 +0000 Subject: [PATCH] Accepting request 325506 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/325506 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Diff?expand=0&rev=20 --- Text-Diff-1.41.tar.gz | 3 --- Text-Diff-1.43.tar.gz | 3 +++ cpanspec.yml | 23 +++++++++++++++++++++++ perl-Text-Diff.changes | 6 ++++++ perl-Text-Diff.spec | 21 ++++++++++++++++----- 5 files changed, 48 insertions(+), 8 deletions(-) delete mode 100644 Text-Diff-1.41.tar.gz create mode 100644 Text-Diff-1.43.tar.gz create mode 100644 cpanspec.yml diff --git a/Text-Diff-1.41.tar.gz b/Text-Diff-1.41.tar.gz deleted file mode 100644 index 2e5660c..0000000 --- a/Text-Diff-1.41.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa -size 27813 diff --git a/Text-Diff-1.43.tar.gz b/Text-Diff-1.43.tar.gz new file mode 100644 index 0000000..746ddd2 --- /dev/null +++ b/Text-Diff-1.43.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c2d837c355c3f212044331f6712b5191a6cebc21c47c1157b4bb13283acb7aa +size 29330 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Text-Diff.changes b/perl-Text-Diff.changes index 720dfa4..aae6f28 100644 --- a/perl-Text-Diff.changes +++ b/perl-Text-Diff.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Aug 23 09:26:53 UTC 2015 - coolo@suse.com + +- updated to 1.43 + see /usr/share/doc/packages/perl-Text-Diff/Changes + ------------------------------------------------------------------- Tue Jan 10 07:49:42 UTC 2012 - coolo@suse.com diff --git a/perl-Text-Diff.spec b/perl-Text-Diff.spec index 1cf498f..f711631 100644 --- a/perl-Text-Diff.spec +++ b/perl-Text-Diff.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Text-Diff # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,21 +17,20 @@ Name: perl-Text-Diff -Version: 1.41 +Version: 1.43 Release: 0 %define cpan_name Text-Diff Summary: Perform diffs on files and record sets License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Text-Diff/ -Source: http://www.cpan.org/authors/id/O/OV/OVID/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Algorithm::Diff) >= 1.19 -#BuildRequires: perl(Text::Diff) -#BuildRequires: perl(Text::Diff::Config) Requires: perl(Algorithm::Diff) >= 1.19 %{perl_requires} @@ -48,6 +47,18 @@ it will be a valid diff and comprehensible by 'patch'. We haven't seen any differences between Algorithm::Diff's logic and GNU diff's, but we have not examined them to make sure they are indeed identical. +*Note*: If you don't want to import the 'diff' function, do one of the +following: + + use Text::Diff (); + + require Text::Diff; + +That's a pretty rare occurence, so 'diff()' is exported by default. + +If you pass a filename, but the file can't be read, then 'diff()' will +'croak'. + %prep %setup -q -n %{cpan_name}-%{version}