[perl-Class-DBI-Loader] fix build

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

 



commit e6b62ab94999883742314793f652a63f634330ba
Author: Tom Callaway <spot@xxxxxxxxxxxxxxxxx>
Date:   Mon Jan 23 00:03:28 2012 -0500

    fix build

 perl-Class-DBI-Loader.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/perl-Class-DBI-Loader.spec b/perl-Class-DBI-Loader.spec
index c218d47..1473a23 100644
--- a/perl-Class-DBI-Loader.spec
+++ b/perl-Class-DBI-Loader.spec
@@ -1,17 +1,16 @@
 Name:           perl-Class-DBI-Loader
 Version:        0.34
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Dynamic definition of Class::DBI sub classes
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-DBI-Loader
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/Class-DBI-Loader-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:	perl(Lingua::EN::Inflect), perl(Test::Pod::Coverage), perl(Test::Pod)
 BuildRequires:  perl(Class::DBI::mysql), perl(Class::DBI::Pg), perl(Class::DBI::SQLite)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Pod::Perldoc)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -27,7 +26,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 ';'
@@ -38,17 +36,15 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 mv t/03podcoverage.t .
 TEST_POD=1 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@xxxxxxxxxxxxxxxxx> - 0.34-12
+- fix build
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.34-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
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