commit c554e362f6c17b318a108086b3c27dc87e9da30f
Author: Iain Arnell <iarn...@gmail.com>
Date:   Sun Jan 16 09:07:52 2011 +0100

    update to 0.96
    
    - clean up spec for modern rpmbuild
    - remove the need for Debug::ShowStuff

 no-debug-showstuff.patch |   22 ++++++++++++++++++++++
 perl-Data-Taxi.spec      |   17 +++++++++--------
 2 files changed, 31 insertions(+), 8 deletions(-)
---
diff --git a/no-debug-showstuff.patch b/no-debug-showstuff.patch
new file mode 100644
index 0000000..ee2e01c
--- /dev/null
+++ b/no-debug-showstuff.patch
@@ -0,0 +1,22 @@
+diff -up Data-Taxi-0.96/Makefile.PL.orig Data-Taxi-0.96/Makefile.PL
+--- Data-Taxi-0.96/Makefile.PL.orig    2010-11-15 04:38:29.000000000 +0100
++++ Data-Taxi-0.96/Makefile.PL 2011-01-16 08:46:40.000000000 +0100
+@@ -5,7 +5,6 @@ WriteMakefile(
+       'NAME'            => "Data::Taxi",
+       'VERSION_FROM'    => "Taxi.pm", # finds $VERSION
+       'PREREQ_PM'       => {
+-              'Debug::ShowStuff' => 1.1,
+       }, # e.g., Module::Name => 1.1
+       
+       # Add these new keywords supported since 5.005
+diff -up Data-Taxi-0.96/Taxi.pm.orig Data-Taxi-0.96/Taxi.pm
+--- Data-Taxi-0.96/Taxi.pm.orig        2010-11-15 04:38:28.000000000 +0100
++++ Data-Taxi-0.96/Taxi.pm     2011-01-16 08:46:44.000000000 +0100
+@@ -3,7 +3,6 @@ use strict;
+ use vars qw[@ISA $VERSION $FORMAT_VERSION %HANDLE_FORMATS @EXPORT_OK 
%EXPORT_TAGS];
+ use Carp 'croak';
+ use Exporter;
+-use Debug::ShowStuff ':all';
+ @ISA = 'Exporter';
+ use 5.006;
+ 
diff --git a/perl-Data-Taxi.spec b/perl-Data-Taxi.spec
index edd86c0..dff2021 100644
--- a/perl-Data-Taxi.spec
+++ b/perl-Data-Taxi.spec
@@ -1,12 +1,12 @@
 Name:           perl-Data-Taxi
-Version:        0.95
-Release:        2%{?dist}
+Version:        0.96
+Release:        1%{?dist}
 Summary:        Taint-aware, XML-ish data serialization
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Data-Taxi/
 Source0:        
http://www.cpan.org/authors/id/M/MI/MIKO/Data-Taxi-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:         no-debug-showstuff.patch
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
@@ -19,14 +19,13 @@ features.
 
 %prep
 %setup -q -n Data-Taxi-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -37,9 +36,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc README
@@ -47,6 +43,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 16 2011 Iain Arnell <iarn...@gmail.com> 0.96-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- remove the need for Debug::ShowStuff
+
 * Thu Dec 16 2010 Marcela Maslanova <mmasl...@redhat.com> - 0.95-2
 - 661697 rebuild for fixing problems with vendorach/lib
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to