[perl-Class-DBI-Plugin-RetrieveAll] fix build

Tom Callaway spot at fedoraproject.org
Mon Jan 23 05:08:33 UTC 2012


commit 77899897cbd780d64f9d8265348a251aa1cd26ba
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Jan 23 00:08:30 2012 -0500

    fix build

 perl-Class-DBI-Plugin-RetrieveAll.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/perl-Class-DBI-Plugin-RetrieveAll.spec b/perl-Class-DBI-Plugin-RetrieveAll.spec
index 60af49a..7f71db1 100644
--- a/perl-Class-DBI-Plugin-RetrieveAll.spec
+++ b/perl-Class-DBI-Plugin-RetrieveAll.spec
@@ -1,15 +1,14 @@
 Name:           perl-Class-DBI-Plugin-RetrieveAll
 Version:        1.04
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        More complex retrieve_all() for Class::DBI
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-DBI-Plugin-RetrieveAll
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-DBI-Plugin-RetrieveAll-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:	perl(Class::DBI::Plugin), perl(DBD::SQLite), perl(Test::More)
+BuildRequires:	perl(Pod::Perldoc)
 Requires:  perl(Class::DBI::Plugin)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -26,7 +25,6 @@ perldoc -t perlgpl > COPYING
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -35,17 +33,15 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Artistic COPYING Changes
 %{perl_vendorlib}/Class/DBI/Plugin/
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Mon Jan 23 2012 Tom Callaway <spot at fedoraproject.org> - 1.04-13
+- fix build
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.04-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list