8
0

Accepting request 28668 from devel:languages:perl

Copy from devel:languages:perl/perl-Algorithm-Diff based on submit request 28668 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Algorithm-Diff?expand=0&rev=6
This commit is contained in:
OBS User autobuild
2010-01-12 13:46:35 +00:00
committed by Git OBS Bridge
parent e52e0706a5
commit f6567e2971
4 changed files with 26 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Algorithm-Diff (Version 1.1902)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,14 +22,15 @@ 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: 126
Release: 127
License: Artistic License ..
Group: Development/Libraries/Perl
Url: http://www.cpan.org
Source0: %{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/Algorithm-Diff
Source0: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Dumper)
# other not perl || perl-base
BuildRequires: patch
Requires: perl = %{perl_version}
@@ -37,21 +38,20 @@ Requires: perl = %{perl_version}
Requires: patch
%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.
%{cpan_name} module for perl
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.
Author: Tye McQueen (http://perlmonks.org/?node=tye)
Author: Tye McQueen (http://perlmonks.org/?node=tye)
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?_smp_mflags}
%check
%{__make} test