[perl-Class-DBI-AbstractSearch] Fix the buildtime dependencies

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

 



commit da7ee7e9e3ab136fe16fa563de5daa14861295e6
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Feb 27 16:43:27 2013 +0100

    Fix the buildtime dependencies

 perl-Class-DBI-AbstractSearch.spec |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/perl-Class-DBI-AbstractSearch.spec b/perl-Class-DBI-AbstractSearch.spec
index c701dac..ea3826d 100644
--- a/perl-Class-DBI-AbstractSearch.spec
+++ b/perl-Class-DBI-AbstractSearch.spec
@@ -1,15 +1,25 @@
 Name:           perl-Class-DBI-AbstractSearch
 Version:        0.07
-Release:        18%{?dist}
+Release:        19%{?dist}
 Summary:        Abstract Class::DBI's SQL with SQL::Abstract
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-DBI-AbstractSearch
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Class-DBI-AbstractSearch-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:	perl(Class::DBI), perl(DBD::SQLite), perl(SQL::Abstract)
-BuildRequires:	perl(SQL::Abstract::Limit), perl(Test::More)
+BuildRequires:  perl
+BuildRequires:  perl(base)
+BuildRequires:  perl(Class::DBI)
+BuildRequires:  perl(DBD::SQLite)
+BuildRequires:  perl(DBI)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Pod::Perldoc)
+BuildRequires:  perl(SQL::Abstract)
+BuildRequires:  perl(SQL::Abstract::Limit)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
 Requires:  perl(Class::DBI)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -26,9 +36,8 @@ perldoc -t perlgpl > COPYING
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$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 ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
@@ -40,6 +49,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed Feb 27 2013 Petr Šabata <contyk@xxxxxxxxxx> - 0.07-19
+- Fix the buildtime depedencies
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.07-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_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