Name: perl-XS-Parse-Sublike Version: 0.16 Release: 1%{?dist} Summary: XS functions to assist in parsing sub-like syntax License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/XS-Parse-Sublike/ Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/XS-Parse-Sublike-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 0:5.016 BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Module::Build) BuildRequires: perl(Sub::Util) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(XS::Parse::Sublike) %description This module provides some XS functions to assist in writing parsers for sub-like syntax, primarily for authors of keyword plugins using the PL_keyword_plugin hook mechanism. It is unlikely to be of much use to anyone else; and highly unlikely to be any use when writing perl code using these. Unless you are writing a keyword plugin using XS, this module is not for you. %prep %setup -q -n XS-Parse-Sublike-%{version} %build %{__perl} Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS" ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes hax LICENSE META.json README %{perl_vendorarch}/auto/* %{perl_vendorarch}/XS* %{_mandir}/man3/* %changelog * Mon Jan 17 2022 Dave Cross 0.16-1 - Specfile autogenerated by cpanspec 1.78.