[perl-AppConfig] Specify all dependencies. Use DESTDIR rather than PERL_INSTALL_ROOT.

Marcela Mašláňová mmaslano at fedoraproject.org
Mon Nov 5 16:36:59 UTC 2012


commit 63d3373030b7bdad93fce9a3b7ca0104bd29e68e
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Mon Nov 5 17:36:44 2012 +0100

    Specify all dependencies. Use DESTDIR rather than PERL_INSTALL_ROOT.
    
    Signed-off-by: Marcela Mašláňová <mmaslano at redhat.com>

 perl-AppConfig.spec |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/perl-AppConfig.spec b/perl-AppConfig.spec
index ed933c3..d3f10c1 100644
--- a/perl-AppConfig.spec
+++ b/perl-AppConfig.spec
@@ -1,6 +1,6 @@
 Name:           perl-AppConfig
 Version:        1.66
-Release:        17%{?dist}
+Release:        18%{?dist}
 Summary:        Perl module for reading configuration files
 
 Group:          Development/Libraries
@@ -10,7 +10,12 @@ Source0:        http://search.cpan.org/CPAN/authors/id/A/AB/ABW/AppConfig-%{vers
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl(File::HomeDir) >= 0.61
+BuildRequires:  perl(base)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Getopt::Long) >= 2.17
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -44,7 +49,7 @@ make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-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 -depth -type d -empty -exec rmdir {} ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
@@ -66,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Nov 05 2012 Jitka Plesnikova <jplesnik at redhat.com> - 1.66-18
+- Specify all dependencies
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.66-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 



More information about the perl-devel mailing list