From a32580746e3c871af79d2dd949247d55c72259e8 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 7 Oct 2020 22:04:35 +0200 Subject: [PATCH] - macros version to ensure perl macros are loaded --- perl-Capture-Tiny.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-Capture-Tiny.spec b/perl-Capture-Tiny.spec index c734ed2..a6b4bc2 100644 --- a/perl-Capture-Tiny.spec +++ b/perl-Capture-Tiny.spec @@ -1,6 +1,6 @@ # # Conditional build: -%bcond_without tests # do not perform "make test" +%bcond_without tests # unit tests %define pdir Capture %define pnam Tiny @@ -13,10 +13,11 @@ License: Apache v2.0 Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz # Source0-md5: f5d24083ad270f8326dd659dd83eeb54 -URL: http://search.cpan.org/dist/Capture-Tiny/ +URL: https://metacpan.org/release/Capture-Tiny BuildRequires: perl-ExtUtils-MakeMaker >= 6.30 BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.745 %if %{with tests} BuildRequires: perl-Test-Simple >= 0.62 %endif -- 2.44.0