commit 2978b8c69d874bc99cb519d9ed270a689f570091 Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Sat Apr 19 07:05:05 2014 +0200 Rework BR:s (RHBZ #1079473). - Reactivate tests. perl-GnuPG-Interface.spec | 44 +++++++++++++++++++++++++++++++++++--------- 1 files changed, 35 insertions(+), 9 deletions(-) --- diff --git a/perl-GnuPG-Interface.spec b/perl-GnuPG-Interface.spec index 58ba4ae..9bed79a 100644 --- a/perl-GnuPG-Interface.spec +++ b/perl-GnuPG-Interface.spec @@ -1,6 +1,6 @@ Name: perl-GnuPG-Interface Version: 0.50 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl interface to GnuPG Group: Development/Libraries License: GPLv2+ or Artistic @@ -8,12 +8,36 @@ URL: http://search.cpan.org/dist/GnuPG-Interface Source0: http://cpan.org/modules/by-module/GnuPG/GnuPG-Interface-%{version}.tar.gz BuildArch: noarch BuildRequires: gpg -BuildRequires: perl(Any::Moose) + +BuildRequires: perl(Carp) +BuildRequires: perl(Class::Struct) +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(English) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Pod::Perldoc) +BuildRequires: perl(Fatal) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Compare) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IO::Seekable) +BuildRequires: perl(lib) +BuildRequires: perl(Math::BigInt) +BuildRequires: perl(Module::Install::Base) +BuildRequires: perl(Moo) +BuildRequires: perl(Moo::Role) +BuildRequires: perl(MooX::HandlesVia) +BuildRequires: perl(MooX::late) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) Requires: gpg -Requires: perl(Any::Moose) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} @@ -25,7 +49,8 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %setup -q -n GnuPG-Interface-%{version} perldoc -t perlgpl > GPL perldoc -t perlartistic > Artistic - +# gpg as being used by the testsuite requires test to be 0700 +chmod 0700 test %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -34,13 +59,10 @@ make %{?_smp_mflags} %install 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/* %check -chmod 0700 test -# GnuPG-Interface needs to read from /dev/tty to run its tests. -# make test +make test %files %doc Changes README @@ -49,6 +71,10 @@ chmod 0700 test %changelog +* Sat Apr 19 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.50-2 +- Rework BR:s (RHBZ #1079473). +- Reactivate tests. + * Sun Mar 16 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.50-1 - Update to 0.50 -- 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