forked from pool/perl-Algorithm-Diff
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Algorithm-Diff?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
9c5279f27b
commit
e52e0706a5
@@ -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
|
Tue Aug 8 11:05:14 CEST 2006 - ke@suse.de
|
||||||
|
|
||||||
|
@@ -19,57 +19,54 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Algorithm-Diff
|
Name: perl-Algorithm-Diff
|
||||||
Url: http://search.cpan.org/
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
License: Artistic License; GPL v2 or later
|
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
AutoReqProv: on
|
|
||||||
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: 125
|
Release: 126
|
||||||
Source: http://www.cpan.org/modules/by-category/06_Data_Type_Utilities/Algorithm/Algorithm-Diff-%{version}.tar.gz
|
License: Artistic License ..
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://www.cpan.org
|
||||||
|
Source0: %{cpan_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%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
|
%prep
|
||||||
%setup -n Algorithm-Diff-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%define perl_site %(TMP=%{perl_sitearch}; echo ${TMP%/*})
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
make
|
%{__make}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%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)
|
%defattr(-,root,root)
|
||||||
%doc MANIFEST Changes README
|
%doc Changes README
|
||||||
%{perl_vendorarch}/auto/Algorithm
|
|
||||||
%{perl_vendorlib}/Algorithm
|
|
||||||
%{_mandir}/man3/Algorithm::Diff*.3pm.gz
|
|
||||||
/var/adm/perl-modules/perl-Algorithm-Diff
|
|
||||||
|
|
||||||
%changelog
|
%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.
|
|
||||||
|
Reference in New Issue
Block a user