Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37047721
en ru br
ALT Linux repos
S:0.88-alt1
5.0: 0.55-alt1
4.1: 0.55-alt1
4.0: 0.55-alt1

Group :: Development/Perl
RPM: perl-Module-Signature

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define module_name Module-Signature

Name: perl-%module_name
Version: 0.55
Release: alt1

Summary: %module_name module for perl
License: MIT
Group: Development/Perl

Url: %CPAN %module_name
Source: http://www.cpan.org/modules/by-module/Module/%module_name-%version.tar.gz

BuildArch: noarch
# Automatically added by buildreq on Tue Jul 03 2007
BuildRequires: gnupg perl-Crypt-Blowfish perl-Crypt-DES_EDE3 perl-Crypt-OpenPGP perl-devel perl-Digest-SHA perl-Math-BigInt-GMP

%description
Module::Signature, a module to check and create SIGNATURE files for CPAN
distributions.

%prep
%setup -n %module_name-%version

%build
# Running _all_ tests successfully for our package build is tricky:
#
# Due to ".perl.req" file generation in ALT standard perl modules build
# process signature test will fail complaining about
# "MISMATCHED content between MANIFEST and distribution files!"
#
# So, we instruct our standard build macros to not run tests, then fix
# problem and run tests explicitly:
%def_without test
%perl_vendor_build
# Need to set this environment variable to enable signature test
export TEST_SIGNATURE=1
mv .perl.req ../
make test
mv ../.perl.req .

%install
%perl_vendor_install

%files
%_bindir/*
%perl_vendor_privlib/Module*
%perl_vendor_man1dir/*
%perl_vendor_man3dir/*
%exclude /.perl.req

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin