Группа :: Разработка/Прочее
Пакет: perl-Test-YAML-Meta
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# 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-YAML-Meta
Version: 0.22
Release: alt1_10
Summary: Validation of the META.yml file in a distribution
License: Artistic 2.0
Group: Development/Other
URL: https://metacpan.org/release/Test-YAML-Meta
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-YAML-Meta-%{version}.tar.gz
Patch0: Test-YAML-Meta-0.21-utf8.patch
BuildArch: noarch
# Module Build
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module Runtime
BuildRequires: perl(base.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/CPAN/Meta/YAML.pm)
BuildRequires: perl(vars.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(IO/File.pm)
BuildRequires: perl(Test/CPAN/Meta/JSON.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)
Source44: import.info
# Runtime
%description
This module was written to ensure that a META.yml file, provided with a
standard distribution uploaded to CPAN, meets the specifications that are
slowly being introduced to module uploads, via the use of
ExtUtils::MakeMaker, Module::Build and Module::Install.
%prep
%setup -q -n Test-YAML-Meta-%{version}
# Re-code LICENSE as UTF-8
%patch0
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
# %{_fixperms} %{buildroot}
%check
make test AUTOMATED_TESTING=1
%files
%if 0%{?_licensedir:1}
%doc --no-dereference LICENSE
%else
%doc LICENSE
%endif
%doc Changes README examples/
%{perl_vendor_privlib}/Test/
%changelog
…
Полный changelog можно просмотреть здесь
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-YAML-Meta
Version: 0.22
Release: alt1_10
Summary: Validation of the META.yml file in a distribution
License: Artistic 2.0
Group: Development/Other
URL: https://metacpan.org/release/Test-YAML-Meta
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-YAML-Meta-%{version}.tar.gz
Patch0: Test-YAML-Meta-0.21-utf8.patch
BuildArch: noarch
# Module Build
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module Runtime
BuildRequires: perl(base.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/CPAN/Meta/YAML.pm)
BuildRequires: perl(vars.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(IO/File.pm)
BuildRequires: perl(Test/CPAN/Meta/JSON.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)
Source44: import.info
# Runtime
%description
This module was written to ensure that a META.yml file, provided with a
standard distribution uploaded to CPAN, meets the specifications that are
slowly being introduced to module uploads, via the use of
ExtUtils::MakeMaker, Module::Build and Module::Install.
%prep
%setup -q -n Test-YAML-Meta-%{version}
# Re-code LICENSE as UTF-8
%patch0
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
# %{_fixperms} %{buildroot}
%check
make test AUTOMATED_TESTING=1
%files
%if 0%{?_licensedir:1}
%doc --no-dereference LICENSE
%else
%doc LICENSE
%endif
%doc Changes README examples/
%{perl_vendor_privlib}/Test/
%changelog
…
Полный changelog можно просмотреть здесь