commit 2f36b074b3a7901fad08931ecd726df09feb033d Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:41 2019 -0400 Package init diff --git a/B-Debug-1.26.tar.gz b/B-Debug-1.26.tar.gz new file mode 100644 index 0000000..4a7edd6 Binary files /dev/null and b/B-Debug-1.26.tar.gz differ diff --git a/perl-B-Debug.spec b/perl-B-Debug.spec new file mode 100644 index 0000000..adc6e9a --- /dev/null +++ b/perl-B-Debug.spec @@ -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 - 1.26-4 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:move license file + +* Wed Aug 28 2019 openEuler Buildteam - 1.26-3 +- Package init