8
0
OBS User unknown
2009-07-27 21:51:20 +00:00
committed by Git OBS Bridge
parent 9c5279f27b
commit e52e0706a5
2 changed files with 72 additions and 36 deletions

View File

@@ -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

View File

@@ -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
%{__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.