Name: perl-JSON5 Version: 0.01 Release: 1%{?dist} Summary: JSON5 implementation for Perl 5 License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/JSON5/ Source0: http://www.cpan.org/authors/id/K/KA/KARUPA/JSON5-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008001 BuildRequires: perl(Encode) BuildRequires: perl(JSON::PP) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Base::Less) BuildRequires: perl(Test::More) >= 0.98 Requires: perl(Encode) Requires: perl(JSON::PP) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description JSON5 is the JSON5 implementation for Perl 5 %prep %setup -q -n JSON5-%{version} %build %{__perl} Build.PL --installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 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 cpanfile LICENSE META.json minil.toml README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Aug 01 2021 Dave Cross 0.01-1 - Specfile autogenerated by cpanspec 1.78.