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

Tom Callaway spot at fedoraproject.org
Mon Jan 23 05:09:45 UTC 2012


commit bb24824038881d79ea8529c332577fe9aaca711a
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Jan 23 00:09:43 2012 -0500

    fix build

 perl-Class-DBI-Plugin-Type.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/perl-Class-DBI-Plugin-Type.spec b/perl-Class-DBI-Plugin-Type.spec
index 8bf0eba..994fe63 100644
--- a/perl-Class-DBI-Plugin-Type.spec
+++ b/perl-Class-DBI-Plugin-Type.spec
@@ -1,15 +1,14 @@
 Name:           perl-Class-DBI-Plugin-Type
 Version:        0.02
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        Determine type information for columns
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-DBI-Plugin-Type
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIMON/Class-DBI-Plugin-Type-%{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> - 0.02-16
+- fix build
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.02-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list