65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
Name: perl-Sub-Quote
|
|
Version: 2.006006
|
|
Release: 2%{?org_tag}%{?dist}
|
|
Summary: Efficient generation of subroutines via string eval
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Sub-Quote/
|
|
Source0: http://localhost/cpan/authors/id/H/HA/HAARG/Sub-Quote-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl-devel
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: perl >= 0:5.006
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Sub::Name) >= 0.08
|
|
BuildRequires: perl(Test::Fatal) >= 0.003
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
Requires: perl(Scalar::Util)
|
|
Requires: perl(Sub::Name) >= 0.08
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
This package provides performant ways to generate subroutines from strings.
|
|
|
|
%prep
|
|
%setup -q -n Sub-Quote-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes META.json README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Thu Jan 23 2025 Jean-Philippe Pialasse <jpp@koozali.org> 2.006006-2.sme
|
|
- import to SME11
|
|
|
|
* Fri Nov 27 2020 Gavin Carr <gavin@openfusion.com.au> 2.006006-1
|
|
- Update to version 2.006006.
|
|
|
|
* Wed Apr 04 2018 Gavin Carr <gavin@openfusion.com.au> 2.005000-1
|
|
- Specfile autogenerated by cpanspec 1.79.
|