commit 8386bad7838552171e62e4a4f9eb1182692b0278 Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Mon Jan 17 17:21:13 2011 +0100 - Upstream update. - Reflect upstream Source0-URL having changed. - Reflect upstream having changed to Module::Build. .gitignore | 1 + perl-Mail-GnuPG.spec | 44 ++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 28 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index 444c405..3e102d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Mail-GnuPG-0.15.tar.gz +/Mail-GnuPG-0.16.tar.gz diff --git a/perl-Mail-GnuPG.spec b/perl-Mail-GnuPG.spec index aa1ad1c..1393f43 100644 --- a/perl-Mail-GnuPG.spec +++ b/perl-Mail-GnuPG.spec @@ -1,24 +1,27 @@ -Name: perl-Mail-GnuPG -Summary: Process email with GPG -Version: 0.15 -Release: 5%{?dist} +Name: perl-Mail-GnuPG +Summary: Process email with GPG +Version: 0.16 +Release: 1%{?dist} License: GPLv2 or Artistic -Group: Development/Libraries -URL: http://search.cpan.org/dist/Mail-GnuPG/ +Group: Development/Libraries +URL: http://search.cpan.org/dist/Mail-GnuPG/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch +BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSPIER/Mail-GnuPG-%{version}.tar.gz +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Source0: http://www.cpan.org/authors/id/D/DD/DDB/Mail-GnuPG-%{version}.tar.gz -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(GnuPG::Interface) +BuildRequires: perl(Mail::Address) BuildRequires: perl(MIME::Entity) BuildRequires: perl(MIME::Parser) -BuildRequires: perl(Mail::Address) +BuildRequires: perl(Module::Build) # Required by the tests +BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 0.95 +BuildRequires: /usr/bin/gpg +BuildRequires: /usr/bin/gpg-agent /usr/libexec/gpg-preset-passphrase %description Use GnuPG::Interface to process or create PGP signed or encrypted email. @@ -29,21 +32,21 @@ iconv -f iso-8859-1 -t utf-8 README > README~ mv README~ README %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build %install rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* %clean rm -rf $RPM_BUILD_ROOT %check -make test +GPG_PRESET_PASSPHRASE=/usr/libexec/gpg-preset-passphrase ./Build test %files %defattr(-,root,root) @@ -52,6 +55,11 @@ make test %{_mandir}/man3/* %changelog +* Mon Jan 17 2011 Ralf CorsÃpius < corsepiu@xxxxxxxxxxxxxxxxx> - 0.16-1 +- Upstream update. +- Reflect upstream Source0-URL having changed. +- Reflect upstream having changed to Module::Build. + * Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 0.15-5 - rebuild against perl 5.10.1 diff --git a/sources b/sources index 29441e6..9bc6a84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7f18a7af0d8998a3f362e8e12abe16a2 Mail-GnuPG-0.15.tar.gz +ab13896e4410563c2c4f92f7de6684ae Mail-GnuPG-0.16.tar.gz -- 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