From 79a2384b0f189efcbd363b54c0c048e8fda62b34 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mar 12 2019 12:18:15 +0000 Subject: Update to 1.0.1 - New upstream release 1.0.1 - Fix breakage when using Moo/Moose and Function::Parameters on perl < 5.24 (CPAN RT#124745) - Add t/rt-124745.t - Update ppport.h from 3.19 → 3.44 - License changed from (GPL+ or Artistic) to Artistic 2.0 - Modernize spec using features from ExtUtils::MakeMaker ≥ 6.76 --- diff --git a/.gitignore b/.gitignore index 108ad7a..8406574 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /true-[0-9.]*.tar.gz +/true-v[0-9.]*.tar.gz diff --git a/perl-true.spec b/perl-true.spec index ac31d2a..f0901c4 100644 --- a/perl-true.spec +++ b/perl-true.spec @@ -1,10 +1,10 @@ Name: perl-true -Version: 0.18 -Release: 19%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Automatically return a true value when a file is required -License: GPL+ or Artistic +License: Artistic 2.0 URL: https://metacpan.org/release/true -Source0: http://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/true-%{version}.tar.gz +Source0: http://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/true-v%{version}.tar.gz # ============= Module Build ==================== BuildRequires: coreutils BuildRequires: findutils @@ -15,22 +15,24 @@ BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::Depends) >= 0.304 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Copy) # ============= Module Runtime ================== -BuildRequires: perl(B::Hooks::OP::Annotation) >= 0.43 -BuildRequires: perl(B::Hooks::OP::Check) >= 0.18 -BuildRequires: perl(Devel::StackTrace) >= 1.27 +BuildRequires: perl(B::Hooks::OP::Annotation) >= 0.44 +BuildRequires: perl(B::Hooks::OP::Check) >= 0.22 +BuildRequires: perl(Devel::StackTrace) >= 2.03 BuildRequires: perl(strict) +BuildRequires: perl(version) >= 0.77 BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) # ============= Test Suite ====================== BuildRequires: perl(base) BuildRequires: perl(File::Spec) BuildRequires: perl(FindBin) +BuildRequires: perl(Function::Parameters) >= 2.001003 BuildRequires: perl(lib) +BuildRequires: perl(Moo) >= 2.003004 BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) # ============= Module Runtime ================== Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -60,15 +62,18 @@ from the import method of a Modern::Perl-style module that enables modern Perl features and conveniences and cleans up legacy Perl warts. %prep -%setup -q -n true-%{version} +%setup -q -n true-v%{version} %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +perl Makefile.PL \ + INSTALLDIRS=vendor \ + NO_PACKLIST=1 \ + NO_PERLLOCAL=1 \ + OPTIMIZE="%{optflags}" +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} -c %{buildroot} @@ -76,6 +81,7 @@ find %{buildroot} -type f -name '*.bs' -empty -delete make test %files +%license LICENSE.md %doc Changes README %{perl_vendorarch}/auto/true/ %{perl_vendorarch}/true.pm @@ -84,6 +90,15 @@ make test %{_mandir}/man3/true::VERSION.3* %changelog +* Tue Mar 12 2019 Paul Howarth - 1.0.1-1 +- Update to 1.0.1 + - Fix breakage when using Moo/Moose and Function::Parameters on perl < 5.24 + (CPAN RT#124745) + - Add t/rt-124745.t + - Update ppport.h from 3.19 → 3.44 +- License changed from (GPL+ or Artistic) to Artistic 2.0 +- Modernize spec using features from ExtUtils::MakeMaker ≥ 6.76 + * Sat Feb 02 2019 Fedora Release Engineering - 0.18-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 6297951..5b4f43c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -89b7c8caf49f88610ecd79d0a6abe4a8 true-0.18.tar.gz +SHA512 (true-v1.0.1.tar.gz) = 09368e8ac788edd6502e8cf4ce18c57200b166052b33e0253b82f77e2ec458e999b71fc1fc101605b730807c587083159fcc817321db741e9a65652a85f3cb34