From 4836249fade3c4e05fa013b81eee9f335fa57b1c6ebd7dcf30e10184eef2888f Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 13 Apr 2021 15:10:52 +0000 Subject: [PATCH] - initial version 0.09 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-WordDiff?expand=0&rev=2 --- perl-Text-WordDiff.changes | 4 ++++ perl-Text-WordDiff.spec | 14 ++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 perl-Text-WordDiff.changes diff --git a/perl-Text-WordDiff.changes b/perl-Text-WordDiff.changes new file mode 100644 index 0000000..2c5effd --- /dev/null +++ b/perl-Text-WordDiff.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Apr 13 15:09:41 UTC 2021 - lars@linux-schulserver.de - 0.09 + +- initial version 0.09 diff --git a/perl-Text-WordDiff.spec b/perl-Text-WordDiff.spec index 5d85a99..d64f295 100644 --- a/perl-Text-WordDiff.spec +++ b/perl-Text-WordDiff.spec @@ -1,7 +1,8 @@ # # spec file for package perl-Text-WordDiff # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2021 SUSE Software Solutions Germany GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,11 +20,11 @@ Name: perl-Text-WordDiff Version: 0.09 Release: 0 -%define cpan_name Text-WordDiff +%define cpan_name Text-WordDiff Summary: Track changes between documents License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -38,7 +39,12 @@ Recommends: perl(Test::Pod) >= 1.41 %{perl_requires} %description -Track changes between documents +This module is a variation on the lovely Text::Diff module. Rather than +generating traditional line-oriented diffs, however, it generates word-oriented +diffs. This can be useful for tracking changes in narrative documents or +documents with very long lines. To diff source code, one is still best off +using Text::Diff. But if you want to see how a short story changed from one +version to the next, this module will do the job very nicely. %prep %setup -q -n %{cpan_name}-%{version}