From e52e0706a5871744f717c3a7c565201d9f3fdadd25e57109d308006ad5b81bd6 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 27 Jul 2009 21:51:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Algorithm-Diff?expand=0&rev=4 --- perl-Algorithm-Diff.changes | 39 +++++++++++++++++++++ perl-Algorithm-Diff.spec | 69 ++++++++++++++++++------------------- 2 files changed, 72 insertions(+), 36 deletions(-) diff --git a/perl-Algorithm-Diff.changes b/perl-Algorithm-Diff.changes index bf8097e..71f63b7 100644 --- a/perl-Algorithm-Diff.changes +++ b/perl-Algorithm-Diff.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sat Jul 25 19:28:48 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Fri Jul 24 13:55:20 CEST 2009 - coolo@novell.com + +- merge factory changes + +------------------------------------------------------------------- +Fri Jun 19 01:09:36 CEST 2009 - chris@computersalat.de + +- spec fix for perl-macros + +------------------------------------------------------------------- +Fri Jun 19 00:02:45 CEST 2009 - chris@computersalat.de + +- spec fix for perl-macros + +------------------------------------------------------------------- +Tue Jun 16 12:48:56 CEST 2009 - chris@computersalat.de + +- comment on Provides +- changed name for filelist + +------------------------------------------------------------------- +Tue Jun 16 00:59:42 CEST 2009 - chris@computersalat.de + +- added perl-macros + o autogen filelist with perl_gen_filelist + +------------------------------------------------------------------- +Sun Jun 14 16:45:07 CEST 2009 - chris@computersalat.de + +- fixed deps + ------------------------------------------------------------------- Tue Aug 8 11:05:14 CEST 2006 - ke@suse.de diff --git a/perl-Algorithm-Diff.spec b/perl-Algorithm-Diff.spec index 79b9e4b..2db8462 100644 --- a/perl-Algorithm-Diff.spec +++ b/perl-Algorithm-Diff.spec @@ -19,57 +19,54 @@ Name: perl-Algorithm-Diff -Url: http://search.cpan.org/ -License: Artistic License; GPL v2 or later -Group: Development/Libraries/Perl -Requires: perl = %{perl_version} -AutoReqProv: on +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Compute 'Intelligent' Differences Between Two Files or Lists Version: 1.1902 -Release: 125 -Source: http://www.cpan.org/modules/by-category/06_Data_Type_Utilities/Algorithm/Algorithm-Diff-%{version}.tar.gz +Release: 126 +License: Artistic License .. +Group: Development/Libraries/Perl +Url: http://www.cpan.org +Source0: %{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +# other not perl || perl-base +BuildRequires: patch +Requires: perl = %{perl_version} +# other not perl || perl-base +Requires: patch %description -This Perl module helps to create differences between two files or -lists. It is used by 'perl-diffmk' - + %{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) %prep -%setup -n Algorithm-Diff-%{version} -%define perl_site %(TMP=%{perl_sitearch}; echo ${TMP%/*}) +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make -make test +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +%{__make} + +%check +%{__make} test %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -rm -rf $RPM_BUILD_ROOT +%clean +%{__rm} -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.files +# normally you only need to check for doc files %defattr(-,root,root) -%doc MANIFEST Changes README -%{perl_vendorarch}/auto/Algorithm -%{perl_vendorlib}/Algorithm -%{_mandir}/man3/Algorithm::Diff*.3pm.gz -/var/adm/perl-modules/perl-Algorithm-Diff +%doc Changes README %changelog -* Tue Aug 08 2006 ke@suse.de -- Version 1.1902; Changes: - - Fix typo in @EXPORT_OK (s/LCDidx/LCSidx/) (RT 8576) - - Use 'printf' in example code, not 'sprintf' nor 'sprint' (RT 16067) - - DiffOld wasn't passing extra arguments to compare routine (RT 20650) -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Tue Jul 19 2005 lmuelle@suse.de -- Update to 1.1901. -* Wed Feb 04 2004 ke@suse.de -- New package: version 1.15.