48 lines
1.4 KiB
RPMSpec
48 lines
1.4 KiB
RPMSpec
Name: perl-Sub-Exporter-Progressive
|
|
Version: 0.001013
|
|
Release: 8
|
|
Summary: The progressive version of Sub::Exporter
|
|
License: GPL+ or Artistic
|
|
URL: https://metacpan.org/release/Sub-Exporter-Progressive
|
|
Source0: https://cpan.metacpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils findutils make perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Carp) perl(Exporter) >= 5.58 perl(strict) perl(Sub::Exporter) perl(warnings)
|
|
BuildRequires: perl(constant) perl(lib) perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(Carp) perl(Exporter) >= 5.58 perl(Sub::Exporter)
|
|
|
|
%description
|
|
Sub::Exporter is a sophisticated exporter for custom-built routines.
|
|
And this module is the The progressive version of Sub::Exporter.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n Sub-Exporter-Progressive-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc LICENSE
|
|
%{perl_vendorlib}/Sub/
|
|
|
|
|
|
%files help
|
|
%doc Changes README
|
|
%{_mandir}/man3/Sub::Exporter::Progressive.3*
|
|
|
|
%changelog
|
|
* Sun Dec 1 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.001013-8
|
|
- package init
|