You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
Name: perl-B-Debug
|
|
Version: 1.22
|
|
Release: 1%{?dist}
|
|
Summary: Walk Perl syntax tree, print debug information about op-codes
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/B-Debug/
|
|
Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/B-Debug-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(version)
|
|
# Run-time:
|
|
BuildRequires: perl(B)
|
|
# B::Asmdata not used
|
|
BuildRequires: perl(Config)
|
|
BuildRequires: perl(strict)
|
|
# Optional run-time:
|
|
# B::Flags 0.04 not packaged
|
|
# Tests:
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(warnings)
|
|
# Optional test:
|
|
%if !%{defined perl_bootstrap}
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
%endif
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%description
|
|
Walk Perl syntax tree and print debug information about op-codes. See
|
|
B::Concise and B::Terse for other details.
|
|
|
|
%prep
|
|
%setup -q -n B-Debug-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Artistic Changes Copying README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Mon Oct 27 2014 Petr Pisar <ppisar@redhat.com> - 1.22-1
|
|
- 1.22 bump
|
|
|
|
* Wed Sep 17 2014 Petr Pisar <ppisar@redhat.com> 1.21-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|