[perl-Class-DBI-SQLite] fix build

Tom Callaway spot at fedoraproject.org
Mon Jan 23 05:11:02 UTC 2012


commit 74d308a72ab82c7d26619983901cf5b2a1ec0374
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Jan 23 00:11:00 2012 -0500

    fix build

 perl-Class-DBI-SQLite.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/perl-Class-DBI-SQLite.spec b/perl-Class-DBI-SQLite.spec
index ee910e6..30b2fdb 100644
--- a/perl-Class-DBI-SQLite.spec
+++ b/perl-Class-DBI-SQLite.spec
@@ -1,15 +1,14 @@
 Name:           perl-Class-DBI-SQLite
 Version:        0.11
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Extension to Class::DBI for sqlite
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-DBI-SQLite/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Class-DBI-SQLite-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:	perl(Class::DBI), perl(DBD::SQLite), perl(Test::More)
+BuildRequires:	perl(Pod::Perldoc)
 Requires:  perl(DBD::SQLite)
 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
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Mon Jan 23 2012 Tom Callaway <spot at fedoraproject.org> - 0.11-14
+- fix build
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list