[perl-Text-RecordParser] update to 1.5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 6ab3ff8f8b79f42ed6e71c4f68322882a7b32c84
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sat May 7 09:22:12 2011 +0200

    update to 1.5.0

 .gitignore                  |    1 +
 perl-Text-RecordParser.spec |   19 ++++++++-----------
 sources                     |    2 +-
 3 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6b7b204..a90d34e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Text-RecordParser-1.3.0.tar.gz
+/Text-RecordParser-v1.5.0.tar.gz
diff --git a/perl-Text-RecordParser.spec b/perl-Text-RecordParser.spec
index 1a3abc3..ef483e5 100644
--- a/perl-Text-RecordParser.spec
+++ b/perl-Text-RecordParser.spec
@@ -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@xxxxxxxxx> 1.5.0-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 6f9e271..8f01319 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f4dac25c75c9bd14fe0256f83546a7b2  Text-RecordParser-1.3.0.tar.gz
+08c9104263563c157ca076aa97900dc4  Text-RecordParser-v1.5.0.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux