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

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

 



commit 63d3373030b7bdad93fce9a3b7ca0104bd29e68e
Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx>
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@xxxxxxxxxx>

 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@xxxxxxxxxx> - 1.66-18
+- Specify all dependencies
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.66-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_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