Package init

This commit is contained in:
overweight 2019-09-30 11:11:41 -04:00
commit 2f36b074b3
2 changed files with 55 additions and 0 deletions

BIN
B-Debug-1.26.tar.gz Normal file

Binary file not shown.

55
perl-B-Debug.spec Normal file
View File

@ -0,0 +1,55 @@
Name: perl-B-Debug
Version: 1.26
Release: 4
Summary: Walk Perl syntax tree, printing debug info about ops
License: GPL or Artistic
URL: https://metacpan.org/release/B-Debug
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/B-Debug-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gcc perl(ExtUtils::MakeMaker) perl-interpreter perl-generators
#for test
BuildRequires: perl(Test::More) perl(Test::Pod) >= 1.00
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
%description
See ext/B/README and the newer B::Concise.
%package_help
%prep
%autosetup -n B-Debug-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}
%check
make test TEST_VERBOSE=1
%files
%doc README
%license Copying Artistic
%{perl_vendorlib}/B/*
%files help
%doc Changes
%{_mandir}/man3/*
%changelog
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1.26-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move license file
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.26-3
- Package init