|
|
|
@ -1,19 +1,19 @@
|
|
|
|
|
Name: perl-MooseX-Types-JSON
|
|
|
|
|
Summary: JSON data types for Moose
|
|
|
|
|
Version: 1.00
|
|
|
|
|
Release: 20%{?dist}
|
|
|
|
|
Version: 1.01
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# see lib/MooseX/Types/JSON.pm
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MI/MILA/MooseX-Types-JSON-%{version}.tar.gz
|
|
|
|
|
URL: https://metacpan.org/release/MooseX-Types-JSON
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(JSON::XS) >= 2.00
|
|
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
@ -36,18 +36,15 @@ Requires: perl(MooseX::Types)
|
|
|
|
|
%setup -q -n MooseX-Types-JSON-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
%{make_build} test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README Changes examples/
|
|
|
|
@ -56,6 +53,12 @@ make test
|
|
|
|
|
%{_mandir}/man3/MooseX*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 20 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 1.01-1
|
|
|
|
|
- Update to 1.01
|
|
|
|
|
- Replace %%{__perl} with /usr/bin/perl
|
|
|
|
|
- Use %%{make_build} and %%{make_install} where appropriate
|
|
|
|
|
- Pass NO_PACKLIST and NO_PERLLOCAL to Makefile.PL
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|