You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
Name: perl-Sub-Exporter-Progressive
|
|
Version: 0.001013
|
|
Release: 2%{?dist}
|
|
Summary: Only use Sub::Exporter if you need it
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Sub-Exporter-Progressive/
|
|
Source0: http://www.cpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
Sub::Exporter is an incredibly powerful module, but with that power comes
|
|
great responsibility, er- as well as some runtime penalties. This module is
|
|
a Sub::Exporter wrapper that will let your users just use Exporter if all
|
|
they are doing is picking exports, but use Sub::Exporter if your users try
|
|
to use Sub::Exporter's more advanced features, like renaming exports, if
|
|
they try to use them.
|
|
|
|
%prep
|
|
%setup -q -n Sub-Exporter-Progressive-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes cpanfile dist.ini LICENSE META.json README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Feb 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.001013-2
|
|
- new package built with tito
|
|
|
|
* Fri Feb 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.001013-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|