[perl-Class-DBI-FromCGI] fix build

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

 



commit 4c0cd6d73a39b6d3895e4ce1dea57bfc2af710b0
Author: Tom Callaway <spot@xxxxxxxxxxxxxxxxx>
Date:   Mon Jan 23 00:02:11 2012 -0500

    fix build

 perl-Class-DBI-FromCGI.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/perl-Class-DBI-FromCGI.spec b/perl-Class-DBI-FromCGI.spec
index 67cd3b9..d3e9ce9 100644
--- a/perl-Class-DBI-FromCGI.spec
+++ b/perl-Class-DBI-FromCGI.spec
@@ -1,16 +1,15 @@
 Name:           perl-Class-DBI-FromCGI
 Version:        1.00
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Update Class::DBI data using CGI::Untaint
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-DBI-FromCGI
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-DBI-FromCGI-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:	perl(Class::DBI), perl(CGI::Untaint), perl(DBD::SQLite) 
 BuildRequires:	perl(Test::More)
+BuildRequires:  perl(Pod::Perldoc)
 Requires:  perl(Class::DBI), perl(CGI::Untaint)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -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 ';'
@@ -36,17 +34,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@xxxxxxxxxxxxxxxxx> - 1.00-13
+- fix build
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.00-12
 - 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