commit 743b7a3f3f30d675d1584251947504ce7aacbe69 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:12:13 2019 -0400 Package init diff --git a/Exporter-Tiny-1.002001.tar.gz b/Exporter-Tiny-1.002001.tar.gz new file mode 100644 index 0000000..a8b11f2 Binary files /dev/null and b/Exporter-Tiny-1.002001.tar.gz differ diff --git a/perl-Exporter-Tiny.spec b/perl-Exporter-Tiny.spec new file mode 100644 index 0000000..7f99682 --- /dev/null +++ b/perl-Exporter-Tiny.spec @@ -0,0 +1,61 @@ +Name: perl-Exporter-Tiny +Version: 1.002001 +Release: 3 +Summary: An exporter with the features of Sub::Exporter but only core dependencies +License: GPL+ or Artistic +URL: https://metacpan.org/release/Exporter-Tiny +Source0: https://cpan.metacpan.org/modules/by-module/Exporter/Exporter-Tiny-1.002001.tar.gz +BuildArch: noarch +BuildRequires: coreutils findutils make +BuildRequires: perl-generators perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(Carp) perl(strict) perl(warnings) +BuildRequires: perl(lib) perl(Test::More) >= 0.47 +BuildRequires: perl(Test::Fatal) perl(Test::Warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Carp) + +%{?perl_default_filter} + +%description +Exporter::Tiny supports many of Sub::Exporter's external-facing features +including renaming imported functions with the -as, -prefix and -suffix +options; explicit destinations with the into option; and alternative +installers with the installer option. But it's written in only about 40% +as many lines of code and with zero non-core dependencies. +Its internal-facing interface is closer to Exporter.pm, with configuration +done through the @EXPORT, @EXPORT_OK and %%EXPORT_TAGS package variables. + +%package_help + +%prep +%autosetup -n Exporter-Tiny-1.002001 -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +%make_build + +%install +%make_install +%{_fixperms} -c %{buildroot} + +%check +make test + +%files +%doc CREDITS examples/ README +%license COPYRIGHT LICENSE +%{perl_vendorlib}/Exporter/ + +%files help +%doc Changes TODO +%{_mandir}/man3/* + +%changelog +* Sun Sep 29 2019 openEuler Buildteam - 1.002001-3 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: revise requires and change the directory of some files + +* Sat Sep 14 2019 zhangsaisai - 1.002001-2 +- Package init