Sisyphus repository
Last update: 20 may 2019 | SRPMs: 17692 | Visits: 13571721
en ru br
ALT Linux repos
S:2.09-alt1_3

Group :: Development/Perl
RPM: perl-Test-Version

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Test-Version
Version: 2.09
Release: alt1_3
Summary: Check to see that versions in modules are sane
License: Artistic 2.0
URL: https://metacpan.org/release/Test-Version
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Test-Version-%{version}.tar.gz
BuildArch: noarch
# ===================================================================
# Module build requirements
# ===================================================================
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# ===================================================================
# Module requirements
# ===================================================================
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(File/Find/Rule/Perl.pm)
BuildRequires: perl(Module/Metadata.pm)
BuildRequires: perl(parent.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/Builder.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(version.pm)
BuildRequires: perl(warnings.pm)
# ===================================================================
# Regular test suite requirements
# ===================================================================
BuildRequires: perl(blib.pm)
BuildRequires: perl(CPAN/Meta.pm)
BuildRequires: perl(Cwd.pm)
BuildRequires: perl(File/Find.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(File/Temp.pm)
BuildRequires: perl(IO/Handle.pm)
BuildRequires: perl(IPC/Open3.pm)
BuildRequires: perl(Test/Exception.pm)
BuildRequires: perl(Test/Tester.pm)
# ===================================================================
# Author/Release test requirements
#
# Don't run these tests or include their requirements if we're
# bootstrapping, as many of these modules require each other for
# their author/release tests.
# ===================================================================
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Pod/Coverage/TrustPod.pm)
BuildRequires: perl(Test/CPAN/Changes.pm)
BuildRequires: perl(Test/CPAN/Meta/JSON.pm)
BuildRequires: perl(Test/EOL.pm)
BuildRequires: perl(Test/MinimumVersion.pm)
BuildRequires: perl(Test/Perl/Critic.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)
BuildRequires: perl(Test/Portability/Files.pm)
%endif
# ===================================================================
# Runtime requirements
# ===================================================================
Requires: perl(Test/More.pm) >= 0.960
Source44: import.info

%description
This module's goal is to be a one stop shop for checking to see that your
versions across your dist are sane.

%prep
%setup -q -n Test-Version-%{version}

%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build

%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
# %{_fixperms} -c %{buildroot}

%check
make test
%if 0%{!?perl_bootstrap:1}
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%endif

%files
%doc --no-dereference LICENSE
%doc Changes CONTRIBUTING README
%{perl_vendor_privlib}/Test/

%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