From a317cd284211fe724a9491075704cac62aa73209 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 26 Aug 2019 22:22:40 +0100 Subject: [PATCH] Update to 0.0302 - New upstream release 0.0302 - Now at https://github.com/shlomif/perl-test-trailingspace - Convert to https://metacpan.org/pod/Dist::Zilla::PluginBundle::SHLOMIF - Switch to ExtUtils::MakeMaker flow --- perl-Test-TrailingSpace.spec | 31 +++++++++++++++++++++---------- sources | 2 +- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/perl-Test-TrailingSpace.spec b/perl-Test-TrailingSpace.spec index 72db771..b35eeef 100644 --- a/perl-Test-TrailingSpace.spec +++ b/perl-Test-TrailingSpace.spec @@ -1,25 +1,29 @@ Name: perl-Test-TrailingSpace -Version: 0.0301 -Release: 10%{?dist} +Version: 0.0302 +Release: 1%{?dist} Summary: Test for trailing space in source files License: MIT URL: https://metacpan.org/release/Test-TrailingSpace -Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-TrailingSpace-%{version}.tar.gz BuildArch: noarch # Build: BuildRequires: coreutils -BuildRequires: perl-interpreter +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(Module::Build) >= 0.28 +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(autodie) BuildRequires: perl(File::Find::Object::Rule) >= 0.0301 BuildRequires: perl(strict) -BuildRequires: perl(Test::More) +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(warnings) # Tests: BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) BuildRequires: perl(lib) BuildRequires: perl(Test::Builder::Tester) # Dependencies: @@ -32,15 +36,16 @@ This module is used to test for presence of trailing space. %setup -qn Test-TrailingSpace-%{version} %build -perl Build.PL --installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install --destdir=%{buildroot} --create_packlist=0 +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check -./Build test +make test %files %license LICENSE @@ -49,6 +54,12 @@ perl Build.PL --installdirs=vendor %{_mandir}/man3/Test::TrailingSpace.3* %changelog +* Mon Aug 26 2019 Paul Howarth - 0.0302-1 +- Update to 0.0302 + - Now at https://github.com/shlomif/perl-test-trailingspace + - Convert to https://metacpan.org/pod/Dist::Zilla::PluginBundle::SHLOMIF +- Switch to ExtUtils::MakeMaker flow + * Fri Jul 26 2019 Fedora Release Engineering - 0.0301-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 8727501..3b324ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ed7cea52688b019e9d9dbf92d7054cd5 Test-TrailingSpace-0.0301.tar.gz +SHA512 (Test-TrailingSpace-0.0302.tar.gz) = 00ebea59fd55a7c296944bb74eba1ac8bc55ca9a92c7cb6a548fdd150d049bfe1496fb9e54007929219af85673dc5bb20881e52dc25945d437c0ebf772eaba95