Группа :: Разработка/Прочее
Пакет: perl-Test-NoBreakpoints
Главная Изменения Спек Патчи 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-Test-NoBreakpoints
Version: 0.15
Release: alt2_25
Summary: Test that files do not contain soft breakpoints
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-NoBreakpoints
Source0: https://cpan.metacpan.org/authors/id/J/JF/JFITZ/Test-NoBreakpoints-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Run-time:
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(Test/Builder.pm)
# Tests:
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/Exception.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Tester.pm)
BuildRequires: perl(Test/UseAllModules.pm)
# Optional tests:
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/NoWarnings.pm)
Source44: import.info
%description
Test::NoBreakpoints checks that files contain neither the string
"$DB::single = 1" nor "$DB::signal = 1".
%prep
%setup -q -n Test-NoBreakpoints-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes LICENSE 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-Test-NoBreakpoints
Version: 0.15
Release: alt2_25
Summary: Test that files do not contain soft breakpoints
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-NoBreakpoints
Source0: https://cpan.metacpan.org/authors/id/J/JF/JFITZ/Test-NoBreakpoints-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Run-time:
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(Test/Builder.pm)
# Tests:
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/Exception.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Tester.pm)
BuildRequires: perl(Test/UseAllModules.pm)
# Optional tests:
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/NoWarnings.pm)
Source44: import.info
%description
Test::NoBreakpoints checks that files contain neither the string
"$DB::single = 1" nor "$DB::signal = 1".
%prep
%setup -q -n Test-NoBreakpoints-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes LICENSE README
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь