8
0

- regenerate with cpanspec 1.78.05

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-Diff?expand=0&rev=23
This commit is contained in:
Stephan Kulow
2011-11-17 08:51:38 +00:00
committed by Git OBS Bridge
parent 9f02b283a3
commit 7bc94805a7
4 changed files with 22 additions and 30 deletions

View File

@@ -15,44 +15,35 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Algorithm-Diff
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Compute 'Intelligent' Differences Between Two Files or Lists
Version: 1.1902
Release: 139
License: GPL+ or Artistic
Release: 1
License: GPL-1.0+ or Artistic
%define cpan_name Algorithm-Diff
Summary: Compute `intelligent' differences between two files / lists
Url: http://search.cpan.org/dist/Algorithm-Diff/
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Algorithm-Diff
Source0: %{cpan_name}-%{version}.tar.bz2
Source: http://www.cpan.org/authors/id/T/TY/TYEMQ/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Dumper)
# other not perl || perl-base
#MANUAL BEGIN
BuildRequires: patch
# other not perl || perl-base
Requires: patch
#MANUAL END
%{perl_requires}
%description
This is a module for computing the difference between two files, two
strings, or any other two lists of things. It uses an intelligent
algorithm similar to (or identical to) the one used by the Unix "diff"
program. It is guaranteed to find the *smallest possible* set of
differences.
Authors:
--------
Tye McQueen (http://perlmonks.org/?node=tye)
Compute `intelligent' differences between two files / lists
%prep
%setup -q -n %{cpan_name}-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
@@ -63,12 +54,8 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%defattr(-,root,root,755)
%doc Changes README
%changelog