Group :: Desenvolvimento/Perl
RPM: perl-Module-Signature
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define module_name Module-Signature
Name: perl-%module_name
Version: 0.88
Release: alt1
Packager: Victor Forsiuk <force at altlinux.org>
Summary: %module_name module for perl
License: CC0 1.0
Group: Development/Perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/A/AU/AUDREYT/%{module_name}-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Mon Jun 21 2010
BuildRequires: gnupg perl-Crypt-Blowfish perl-Crypt-DES_EDE3 perl-Crypt-OpenPGP perl-Digest-SHA perl-Math-BigInt-GMP perl-Module-Install perl(IPC/Run.pm)
# automatically added during perl 5.8 -> 5.12 upgrade.
# perl-podlators is required for pod2man conversion.
BuildRequires: perl-podlators
%description
Module::Signature, a module to check and create SIGNATURE files for CPAN distributions.
%prep
%setup -q -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 INSTALLMAN1DIR=%_man1dir
# 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
%doc README Changes AUTHORS
%_bindir/*
%perl_vendor_privlib/Module*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
%define module_name Module-Signature
Name: perl-%module_name
Version: 0.88
Release: alt1
Packager: Victor Forsiuk <force at altlinux.org>
Summary: %module_name module for perl
License: CC0 1.0
Group: Development/Perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/A/AU/AUDREYT/%{module_name}-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Mon Jun 21 2010
BuildRequires: gnupg perl-Crypt-Blowfish perl-Crypt-DES_EDE3 perl-Crypt-OpenPGP perl-Digest-SHA perl-Math-BigInt-GMP perl-Module-Install perl(IPC/Run.pm)
# automatically added during perl 5.8 -> 5.12 upgrade.
# perl-podlators is required for pod2man conversion.
BuildRequires: perl-podlators
%description
Module::Signature, a module to check and create SIGNATURE files for CPAN distributions.
%prep
%setup -q -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 INSTALLMAN1DIR=%_man1dir
# 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
%doc README Changes AUTHORS
%_bindir/*
%perl_vendor_privlib/Module*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui