Add missing dependencies
This commit is contained in:
parent
6ab1483b97
commit
3f511821b0
@ -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@redhat.com> - 0.39-7
|
||||
- Add missing build dependencies
|
||||
- Drop command macros
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user