- regenerate with cpanspec for correct license and source lines
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Diff?expand=0&rev=17
This commit is contained in:
parent
57e90b7af4
commit
32a24959a6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Sun Apr 17 08:38:57 UTC 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# vim: set ts=4 sw=4 et:
|
|
||||||
#
|
#
|
||||||
# spec file for package perl-Text-Diff (Version 1.40)
|
# spec file for package perl-Text-Diff
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,52 +16,44 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Text-Diff
|
Name: perl-Text-Diff
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
||||||
Summary: Perform Diffs on Files and Record Sets
|
|
||||||
Version: 1.41
|
Version: 1.41
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL/Artistic
|
%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
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Text-Diff
|
Url: http://search.cpan.org/dist/Text-Diff/
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/O/OV/OVID/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Algorithm::Diff)
|
BuildRequires: perl(Algorithm::Diff) >= 1.19
|
||||||
BuildRequires: perl(Data::Dumper)
|
#BuildRequires: perl(Text::Diff)
|
||||||
Requires: perl(Algorithm::Diff)
|
#BuildRequires: perl(Text::Diff::Config)
|
||||||
Provides: %{cpan_name}
|
Requires: perl(Algorithm::Diff) >= 1.19
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
"diff()" provides a basic set of services akin to the GNU "diff"
|
'diff()' provides a basic set of services akin to the GNU 'diff' utility.
|
||||||
utility. It is not anywhere near as feature complete as GNU "diff", but
|
It is not anywhere near as feature complete as GNU 'diff', but it is better
|
||||||
it is better integrated with Perl and available on all platforms. It is
|
integrated with Perl and available on all platforms. It is often faster
|
||||||
often faster than shelling out to a system's "diff" executable for small
|
than shelling out to a system's 'diff' executable for small files, and
|
||||||
files, and generally slower on larger files.
|
generally slower on larger files.
|
||||||
|
|
||||||
Relies on Algorithm::Diff for, well, the algorithm. This may not produce
|
Relies on the Algorithm::Diff manpage for, well, the algorithm. This may
|
||||||
the same exact diff as a system's local "diff" executable, but it will
|
not produce the same exact diff as a system's local 'diff' executable, but
|
||||||
be a valid diff and comprehensible by "patch". We haven't seen any
|
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
|
differences between Algorithm::Diff's logic and GNU diff's, but we have not
|
||||||
not examined them to make sure they are indeed identical.
|
examined them to make sure they are indeed identical.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Adam Kennedy <adamk@cpan.org>
|
|
||||||
Barrie Slaymaker <barries@slaysys.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
@ -72,12 +63,8 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
%defattr(-,root,root,755)
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user