Sync from SUSE:SLFO:Main perl-Text-Diff revision b6d7a5d64d24aaf94f15b3d8567ed6b1
This commit is contained in:
commit
b86d17fa42
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Text-Diff-1.45.tar.gz
(Stored with Git LFS)
Normal file
BIN
Text-Diff-1.45.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@ -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
|
100
perl-Text-Diff.changes
Normal file
100
perl-Text-Diff.changes
Normal file
@ -0,0 +1,100 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 19 06:21:46 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 1.45
|
||||
see /usr/share/doc/packages/perl-Text-Diff/Changes
|
||||
|
||||
1.45 2017-08-16 NEILB
|
||||
- Typo fixed in doc. Patch from Lucas Kanashiro++. RT#112564
|
||||
- Documentation improvements PR from David Gutteridge++.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 11:10:13 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.44
|
||||
see /usr/share/doc/packages/perl-Text-Diff/Changes
|
||||
|
||||
1.44 2016-02-26 NEILB
|
||||
- Fixed the handling of text without a trailing newline. This module now
|
||||
adds the same text that the diff tool does, "
|
||||
\ No newline at end of
|
||||
file
|
||||
". Previously this module simply produced broken diffs when one or
|
||||
both files had no trailing newline. Fixed by Dave Rolsky. GitHub #1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- regenerate with cpanspec for correct license and source lines
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 17 08:38:57 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 1.41:
|
||||
* added DIFF_OUTPUT_UNICODE env variable to allow outputting unicode
|
||||
characters
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 06:55:46 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 13 12:11:19 UTC 2009 - chris@computersalat.de
|
||||
|
||||
- cleanup spec
|
||||
* fixed header
|
||||
* updated desc
|
||||
* added LICENSE README to doc
|
||||
* moved changelog to .changes
|
||||
- fixed build-/deps
|
||||
* added Data::Dumper
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 23:13:41 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- update to 1.37
|
||||
* Switching to a production release
|
||||
* Switching to a 1.xx version to indicate this
|
||||
* Added META.yml file
|
||||
- 1.36_01 Mon 13 Jul 2009
|
||||
* Cleaning this up to pass tests
|
||||
* Adding author tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 19:45:25 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec mods
|
||||
* removed ^----------
|
||||
* removed ^#---------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 01:09:51 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec fix for perl-macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 01:02:19 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- added perl-macros
|
||||
o autogen filelist with perl_gen_filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 12 16:41:29 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec mods
|
||||
o updated header
|
||||
o some defines
|
||||
o auto filelist gen to make rpmlint happy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 18 17:23:45 UTC 2007 - <jfunk@funktronics.ca>
|
||||
|
||||
- Initial release 0.35
|
||||
|
82
perl-Text-Diff.spec
Normal file
82
perl-Text-Diff.spec
Normal file
@ -0,0 +1,82 @@
|
||||
#
|
||||
# spec file for package perl-Text-Diff
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Text-Diff
|
||||
Version: 1.45
|
||||
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/
|
||||
Source0: https://cpan.metacpan.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
|
||||
Requires: perl(Algorithm::Diff) >= 1.19
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
'diff()' provides a basic set of services akin to the GNU 'diff' utility.
|
||||
It is not anywhere near as feature complete as GNU 'diff', but it is better
|
||||
integrated with Perl and available on all platforms. It is often faster
|
||||
than shelling out to a system's 'diff' executable for small files, and
|
||||
generally slower on larger files.
|
||||
|
||||
Relies on Algorithm::Diff for, well, the algorithm. This may not produce
|
||||
the same exact diff as a system's local 'diff' executable, but 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 occurrence, 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}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user