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-1.3.0.tar.gz
/Text-RecordParser-v1.5.0.tar.gz

@ -1,12 +1,11 @@
Name: perl-Text-RecordParser Name: perl-Text-RecordParser
Version: 1.3.0 Version: 1.5.0
Release: 6%{?dist} Release: 1%{?dist}
Summary: Read record-oriented files Summary: Read record-oriented files
License: GPLv2 License: GPLv2
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-RecordParser/ URL: http://search.cpan.org/dist/Text-RecordParser/
Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 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. can then use many methods to get at the data as arrays or hashes.
%prep %prep
%setup -q -n Text-RecordParser-%{version} %setup -q -n Text-RecordParser-v%{version}
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
@ -50,8 +49,6 @@ perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
./Build ./Build
%install %install
rm -rf %{buildroot}
./Build install destdir=%{buildroot} create_packlist=0 ./Build install destdir=%{buildroot} create_packlist=0
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; 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 %check
./Build test ./Build test
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-)
%doc Changes README TODO t/ %doc Changes README TODO t/
%{_bindir}/* %{_bindir}/*
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man[13]/* %{_mandir}/man[13]/*
%changelog %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 * 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 - 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