From 292f0c877777cafe35be52fbfcc3765f0ca44cb8 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Thu, 20 Jan 2022 21:14:47 +0100 Subject: [PATCH] Update to 1.01 and clean up spec file --- .gitignore | 1 + perl-MooseX-Types-JSON.spec | 27 +++++++++++++++------------ sources | 2 +- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index e81ff65..ff8a5fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ MooseX-Types-JSON-0.02.tar.gz /MooseX-Types-JSON-1.00.tar.gz +/MooseX-Types-JSON-1.01.tar.gz diff --git a/perl-MooseX-Types-JSON.spec b/perl-MooseX-Types-JSON.spec index a45992b..b75e1aa 100644 --- a/perl-MooseX-Types-JSON.spec +++ b/perl-MooseX-Types-JSON.spec @@ -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 - 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 - 1.00-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 83e962a..f3a3f0f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -39ec7063a355ec7b0abc64ee20c94166 MooseX-Types-JSON-1.00.tar.gz +SHA512 (MooseX-Types-JSON-1.01.tar.gz) = 0c1042cca56637d14dd853e77c96a24630b72c6af42820f24a9a9e086ce043eea1d3b370254a0a991b4d52fa2f96740e11b664b0784e1b794d7bd4e720b34953