Группа :: Разработка/Perl
Пакет: perl-Log-Trace
Главная Изменения Спек Патчи Sources Загрузить 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-Log-Trace
Version: 1.070
Release: alt2_30
License: GPLv2+
Summary: A unified approach to tracing
Source: https://cpan.metacpan.org/authors/id/B/BB/BBC/Log-Trace-%{version}.tar.gz
Url: https://metacpan.org/release/Log-Trace
BuildArch: noarch
# Build
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Runtime
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Data/Serializer.pm)
BuildRequires: perl(Fcntl.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Sys/Syslog.pm)
BuildRequires: perl(Time/HiRes.pm)
# Tests only
BuildRequires: perl(File/Basename.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(File/Spec/Functions.pm)
BuildRequires: perl(Test/More.pm)
Requires: perl(Data/Dumper.pm)
Requires: perl(Data/Serializer.pm)
Requires: perl(Sys/Syslog.pm)
Requires: perl(Time/HiRes.pm)
Source44: import.info
%filter_from_provides /^perl(DB.pm)/d
%description
This module provides a unified approach to tracing. A script can 'use
Log::Trace qw( < mode > )' to set the behaviour of the TRACE function.By
default, the trace functions are exported to the calling package only.
You can export the trace functions to other packages with the 'Deep'
option. See the "OPTIONS" manpage for more information.
%prep
%setup -q -n Log-Trace-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc --no-dereference COPYING
%doc README Changes
%{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-Log-Trace
Version: 1.070
Release: alt2_30
License: GPLv2+
Summary: A unified approach to tracing
Source: https://cpan.metacpan.org/authors/id/B/BB/BBC/Log-Trace-%{version}.tar.gz
Url: https://metacpan.org/release/Log-Trace
BuildArch: noarch
# Build
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Runtime
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Data/Serializer.pm)
BuildRequires: perl(Fcntl.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Sys/Syslog.pm)
BuildRequires: perl(Time/HiRes.pm)
# Tests only
BuildRequires: perl(File/Basename.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(File/Spec/Functions.pm)
BuildRequires: perl(Test/More.pm)
Requires: perl(Data/Dumper.pm)
Requires: perl(Data/Serializer.pm)
Requires: perl(Sys/Syslog.pm)
Requires: perl(Time/HiRes.pm)
Source44: import.info
%filter_from_provides /^perl(DB.pm)/d
%description
This module provides a unified approach to tracing. A script can 'use
Log::Trace qw( < mode > )' to set the behaviour of the TRACE function.By
default, the trace functions are exported to the calling package only.
You can export the trace functions to other packages with the 'Deep'
option. See the "OPTIONS" manpage for more information.
%prep
%setup -q -n Log-Trace-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc --no-dereference COPYING
%doc README Changes
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь