Add missing dependencies
This commit is contained in:
parent
6ab1483b97
commit
3f511821b0
@ -1,19 +1,23 @@
|
|||||||
Name: perl-Mail-DKIM
|
Name: perl-Mail-DKIM
|
||||||
Version: 0.39
|
Version: 0.39
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Sign and verify Internet mail with DKIM/DomainKey signatures
|
Summary: Sign and verify Internet mail with DKIM/DomainKey signatures
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://dkimproxy.sourceforge.net/
|
URL: http://dkimproxy.sourceforge.net/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/Mail-DKIM-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Crypt::OpenSSL::RSA)
|
||||||
|
BuildRequires: perl(Digest::SHA)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Test::Simple) perl(Net::DNS) perl(Mail::Address)
|
BuildRequires: perl(Mail::Address)
|
||||||
BuildRequires: perl(Crypt::OpenSSL::RSA) perl(Digest::SHA)
|
BuildRequires: perl(MIME::Base64)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
BuildRequires: perl(Net::DNS)
|
||||||
|
BuildRequires: perl(Test::Simple)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module implements the various components of the DKIM and DomainKeys
|
This module implements the various components of the DKIM and DomainKeys
|
||||||
@ -26,39 +30,38 @@ Mail::SpamAssassin::Plugin::DKIM plugin.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Mail-DKIM-%{version}
|
%setup -q -n Mail-DKIM-%{version}
|
||||||
# Make the example scripts non-executable
|
# Make the example scripts non-executable
|
||||||
%{__chmod} -x scripts/*.pl
|
chmod -x scripts/*.pl
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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 -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/*
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Conditionally disable tests that require DNS lookups
|
# Conditionally disable tests that require DNS lookups
|
||||||
%{?!_with_network_tests: rm t/policy.t t/public_key.t }
|
%{?!_with_network_tests: rm t/policy.t t/public_key.t }
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog Changes HACKING.DKIM README TODO scripts/*.pl
|
%doc ChangeLog Changes HACKING.DKIM README TODO scripts/*.pl
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user