Accepting request 1237596 from devel:languages:perl:autoupdate
- Remove cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch (fixed upstream) - updated to 0.100.0 (0.10) see /usr/share/doc/packages/perl-String-Diff/Changes 0.10 2024-11-30 - yet another distro fixup, same changelog as in v0.08, i.e.: - fixed two tests that had been broken with YAML >= 1.21 (GH#7) (Kenichi Ishigaki) - Add Test::Base to cpanfile (GH#5) (Jose Luis Martinez) - Add develop dependencies to cpanfile (Jose Luis Martinez) - Fix failing POD test (Petr Šabata) - Kudos to Jose Luis Martinez for collecting all the issues from different sources into one concise branch ready for a new CPAN release 0.09 2024-11-30 - distro cleanup (replaced author toolchain), same changelog as in v0.08 0.08 2024-11-25 15:16:09 CET - fixed two tests that had been broken with YAML >= 1.21 (GH#7) (Kenichi Ishigaki) - Add Test::Base to cpanfile (GH#5) (Jose Luis Martinez) - Add develop dependencies to cpanfile (Jose Luis Martinez) - Fix failing POD test (Petr Šabata) - Kudos to Jose Luis Martinez for collecting all the issues from different sources into one concise branch ready for a new CPAN release OBS-URL: https://build.opensuse.org/request/show/1237596 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Diff?expand=0&rev=26
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7215b67cbc3226e2d0e18b38ec58c93be0bf6090278698bef955348826cd0af3
|
||||
size 17734
|
3
String-Diff-0.10.tar.gz
Normal file
3
String-Diff-0.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e6b44afb30c6eacec7d3398d596fb4da8ec30ff05bf1be7b1759b50f91c2840
|
||||
size 24828
|
@@ -1,37 +0,0 @@
|
||||
From cf34e0b93fe89fb24f91cfaf998b5b563f269eb2 Mon Sep 17 00:00:00 2001
|
||||
From: Kenichi Ishigaki <ishigaki@cpan.org>
|
||||
Date: Wed, 5 Apr 2017 13:48:05 +0900
|
||||
Subject: [PATCH] fixed two tests that had been broken with YAML >= 1.21
|
||||
because of its change of eos handling (should fix #7)
|
||||
|
||||
---
|
||||
t/02_diff_fully-pp.t | 2 +-
|
||||
t/02_diff_fully.t | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/t/02_diff_fully-pp.t b/t/02_diff_fully-pp.t
|
||||
index 69a96ab..27e32bd 100644
|
||||
--- a/t/02_diff_fully-pp.t
|
||||
+++ b/t/02_diff_fully-pp.t
|
||||
@@ -30,7 +30,7 @@ new: perl
|
||||
--- data1
|
||||
-
|
||||
- ['-', 'perl']
|
||||
--
|
||||
+- []
|
||||
--- data2
|
||||
old: perl
|
||||
new:
|
||||
diff --git a/t/02_diff_fully.t b/t/02_diff_fully.t
|
||||
index f816a89..6c4c8d8 100644
|
||||
--- a/t/02_diff_fully.t
|
||||
+++ b/t/02_diff_fully.t
|
||||
@@ -29,7 +29,7 @@ new: perl
|
||||
--- data1
|
||||
-
|
||||
- ['-', 'perl']
|
||||
--
|
||||
+- []
|
||||
--- data2
|
||||
old: perl
|
||||
new:
|
@@ -8,7 +8,7 @@
|
||||
# - source1
|
||||
# - source2
|
||||
patches:
|
||||
cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch: -p1 PATCH-FIX-UPSTREAM https://github.com/yappo/p5-String-Diff/commit/cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch
|
||||
# cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch: -p1 PATCH-FIX-UPSTREAM https://github.com/yappo/p5-String-Diff/commit/cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch
|
||||
# bar.patch:
|
||||
# baz.patch: PATCH-FIX-OPENSUSE
|
||||
preamble: |-
|
||||
|
@@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 18:07:14 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Remove cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch (fixed upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 16:37:41 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.100.0 (0.10)
|
||||
see /usr/share/doc/packages/perl-String-Diff/Changes
|
||||
|
||||
0.10 2024-11-30
|
||||
- yet another distro fixup, same changelog as in v0.08, i.e.:
|
||||
- fixed two tests that had been broken with YAML >= 1.21 (GH#7) (Kenichi Ishigaki)
|
||||
- Add Test::Base to cpanfile (GH#5) (Jose Luis Martinez)
|
||||
- Add develop dependencies to cpanfile (Jose Luis Martinez)
|
||||
- Fix failing POD test (Petr Šabata)
|
||||
- Kudos to Jose Luis Martinez for collecting all the issues
|
||||
from different sources into one concise branch ready for a
|
||||
new CPAN release
|
||||
|
||||
0.09 2024-11-30
|
||||
- distro cleanup (replaced author toolchain), same changelog as in v0.08
|
||||
|
||||
0.08 2024-11-25 15:16:09 CET
|
||||
- fixed two tests that had been broken with YAML >= 1.21 (GH#7) (Kenichi Ishigaki)
|
||||
- Add Test::Base to cpanfile (GH#5) (Jose Luis Martinez)
|
||||
- Add develop dependencies to cpanfile (Jose Luis Martinez)
|
||||
- Fix failing POD test (Petr Šabata)
|
||||
- Kudos to Jose Luis Martinez for collecting all the issues
|
||||
from different sources into one concise branch ready for a
|
||||
new CPAN release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 00:02:07 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-String-Diff
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,26 +18,23 @@
|
||||
|
||||
%define cpan_name String-Diff
|
||||
Name: perl-String-Diff
|
||||
Version: 0.70.0
|
||||
Version: 0.100.0
|
||||
Release: 0
|
||||
# 0.07 -> normalize -> 0.70.0
|
||||
%define cpan_version 0.07
|
||||
# 0.10 -> normalize -> 0.100.0
|
||||
%define cpan_version 0.10
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Simple diff to String
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YAPPO/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
# PATCH-FIX-UPSTREAM https://github.com/yappo/p5-String-Diff/commit/cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch
|
||||
Patch0: cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Algorithm::Diff)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Base)
|
||||
BuildRequires: perl(YAML)
|
||||
Requires: perl(Algorithm::Diff)
|
||||
Requires: perl(YAML)
|
||||
Provides: perl(String::Diff) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
@@ -92,23 +89,24 @@ You can escape callback set to diff function and diff_merge function.
|
||||
is($diff_new, 'this is <b><ins><BIG>R</BIG>uby</ins></b>');
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
./Build test
|
||||
make test
|
||||
|
||||
%install
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc Changes README
|
||||
%doc Changes README README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user