[perl-Mail-DKIM] Add missing dependencies

Petr Šabata psabata at fedoraproject.org
Wed Nov 21 11:35:52 UTC 2012


commit 3f511821b0c45b9fddcfeecddbafa0d397e3caa0
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Nov 21 12:35:47 2012 +0100

    Add missing dependencies

 perl-Mail-DKIM.spec |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)
---
diff --git a/perl-Mail-DKIM.spec b/perl-Mail-DKIM.spec
index bec6f91..77d7adf 100644
--- a/perl-Mail-DKIM.spec
+++ b/perl-Mail-DKIM.spec
@@ -1,19 +1,23 @@
 Name:           perl-Mail-DKIM
 Version:        0.39
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Sign and verify Internet mail with DKIM/DomainKey signatures
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://dkimproxy.sourceforge.net/
 Source0:        http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/Mail-DKIM-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Crypt::OpenSSL::RSA)
+BuildRequires:  perl(Digest::SHA)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::Simple) perl(Net::DNS) perl(Mail::Address)
-BuildRequires:  perl(Crypt::OpenSSL::RSA) perl(Digest::SHA)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(Mail::Address)
+BuildRequires:  perl(MIME::Base64)
+BuildRequires:  perl(Net::DNS)
+BuildRequires:  perl(Test::Simple)
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module implements the various components of the DKIM and DomainKeys
@@ -26,39 +30,38 @@ Mail::SpamAssassin::Plugin::DKIM plugin.
 %prep
 %setup -q -n Mail-DKIM-%{version}
 # Make the example scripts non-executable
-%{__chmod} -x scripts/*.pl
+chmod -x scripts/*.pl
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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 -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-
 %check
 # Conditionally disable tests that require DNS lookups
 %{?!_with_network_tests: rm t/policy.t t/public_key.t }
 make test
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
 %doc ChangeLog Changes HACKING.DKIM README TODO scripts/*.pl
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Wed Nov 21 2012 Petr Šabata <contyk at redhat.com> - 0.39-7
+- Add missing build dependencies
+- Drop command macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.39-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list