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

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6db6bb880ff6aecab78ac90502d532ac01032a276c3e1c93bd66bb65ef63c67
size 28245

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8b40dbf406770c6bcbd1a26a3f2343fa1563675085b63932d06f37e60098375
size 33529

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Dec 13 12:28:15 UTC 2009 - chris@computersalat.de
- cleanupo spec
* updated URL
* bzipped Source
* updated desc
- fixed build-/deps
* added Data::Dumper
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 25 19:28:48 CEST 2009 - chris@computersalat.de Sat Jul 25 19:28:48 CEST 2009 - chris@computersalat.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Algorithm-Diff (Version 1.1902) # 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 # 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
@@ -22,14 +22,15 @@ Name: perl-Algorithm-Diff
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Compute 'Intelligent' Differences Between Two Files or Lists Summary: Compute 'Intelligent' Differences Between Two Files or Lists
Version: 1.1902 Version: 1.1902
Release: 126 Release: 127
License: Artistic License .. License: Artistic License ..
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://www.cpan.org Url: http://search.cpan.org/dist/Algorithm-Diff
Source0: %{cpan_name}-%{version}.tar.gz Source0: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Data::Dumper)
# other not perl || perl-base # other not perl || perl-base
BuildRequires: patch BuildRequires: patch
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
@@ -37,21 +38,20 @@ Requires: perl = %{perl_version}
Requires: patch Requires: patch
%description %description
%{cpan_name} module for perl
This is a module for computing the difference between two files, two This is a module for computing the difference between two files, two
strings, or any other two lists of things. It uses an intelligent 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" algorithm similar to (or identical to) the one used by the Unix "diff"
program. It is guaranteed to find the *smallest possible* set of program. It is guaranteed to find the *smallest possible* set of
differences. differences.
Author: Tye McQueen (http://perlmonks.org/?node=tye) Author: Tye McQueen (http://perlmonks.org/?node=tye)
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{__make} %{?_smp_mflags}
%check %check
%{__make} test %{__make} test