Группа :: Разработка/Прочее
Пакет: perl-Data-Rmap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Other
# 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-Data-Rmap
Version: 0.65
Release: alt1_10
Summary: Recursive map, apply a block to a data structure
License: GPL+ or Artistic
URL: https://metacpan.org/release/Data-Rmap
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOWMANBS/Data-Rmap-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/Exception.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(warnings.pm)
Source44: import.info
%description
This perl module evaluates a BLOCK over a list of data structures
recursively (locally setting $_ to each element) and return the list
composed of the results of such evaluations. $_ can be used to modify
the elements.
%prep
%setup -q -n Data-Rmap-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
# %{_fixperms} %{buildroot}/*
%check
./Build test
%files
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь
# 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-Data-Rmap
Version: 0.65
Release: alt1_10
Summary: Recursive map, apply a block to a data structure
License: GPL+ or Artistic
URL: https://metacpan.org/release/Data-Rmap
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOWMANBS/Data-Rmap-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/Exception.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(warnings.pm)
Source44: import.info
%description
This perl module evaluates a BLOCK over a list of data structures
recursively (locally setting $_ to each element) and return the list
composed of the results of such evaluations. $_ can be used to modify
the elements.
%prep
%setup -q -n Data-Rmap-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
# %{_fixperms} %{buildroot}/*
%check
./Build test
%files
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь