update to 1.5.0

epel9
Iain Arnell 14 years ago
parent e9a93b6d14
commit 6ab3ff8f8b

1
.gitignore vendored

@ -1 +1,2 @@
Text-RecordParser-1.3.0.tar.gz
/Text-RecordParser-v1.5.0.tar.gz

@ -1,12 +1,11 @@
Name: perl-Text-RecordParser
Version: 1.3.0
Release: 6%{?dist}
Version: 1.5.0
Release: 1%{?dist}
Summary: Read record-oriented files
License: GPLv2
Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-RecordParser/
Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-v%{version}.tar.gz
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -41,7 +40,7 @@ you can still bind your own field names via bind_fields. Either way, you
can then use many methods to get at the data as arrays or hashes.
%prep
%setup -q -n Text-RecordParser-%{version}
%setup -q -n Text-RecordParser-v%{version}
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
@ -50,8 +49,6 @@ perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
./Build
%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot} create_packlist=0
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@ -60,17 +57,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%check
./Build test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README TODO t/
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man[13]/*
%changelog
* Sat May 07 2011 Iain Arnell <iarnell@gmail.com> 1.5.0-1
- update to latest upstream version
- clean up spec for modern rpmbuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

@ -1 +1 @@
f4dac25c75c9bd14fe0256f83546a7b2 Text-RecordParser-1.3.0.tar.gz
08c9104263563c157ca076aa97900dc4 Text-RecordParser-v1.5.0.tar.gz

Loading…
Cancel
Save