Группа :: Разработка/Прочее
Пакет: perl-Safe-Isa
Главная Изменения Спек Патчи 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-Safe-Isa
Version: 1.000010
Release: alt1_2
Summary: Call isa, can, does and DOES safely on things that may not be objects
License: GPL+ or Artistic
URL: https://metacpan.org/release/Safe-Isa
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Safe-Isa-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(UNIVERSAL.pm)
Source44: import.info
# Dependencies
%description
This module allows you to call isa, can, does and DOES safely on things that
may not be objects, without the risk of crashing.
%prep
%setup -q -n Safe-Isa-%{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
%files
%doc Changes README
%{perl_vendor_privlib}/Safe/
%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-Safe-Isa
Version: 1.000010
Release: alt1_2
Summary: Call isa, can, does and DOES safely on things that may not be objects
License: GPL+ or Artistic
URL: https://metacpan.org/release/Safe-Isa
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Safe-Isa-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(UNIVERSAL.pm)
Source44: import.info
# Dependencies
%description
This module allows you to call isa, can, does and DOES safely on things that
may not be objects, without the risk of crashing.
%prep
%setup -q -n Safe-Isa-%{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
%files
%doc Changes README
%{perl_vendor_privlib}/Safe/
%changelog
…
Полный changelog можно просмотреть здесь