From c667f0438bcff6b33b7d671307e69ccef4406a33 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 8 Oct 2020 06:23:01 +0200 Subject: [PATCH] - macros version to ensure perl macros are loaded --- perl-URI.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-URI.spec b/perl-URI.spec index 8864581..db65cdc 100644 --- a/perl-URI.spec +++ b/perl-URI.spec @@ -1,6 +1,6 @@ # # Conditional build: -%bcond_without tests # do not perform "make test" +%bcond_without tests # unit tests # %define pdir URI %define pnam URI @@ -16,9 +16,10 @@ License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/URI/%{pnam}-%{version}.tar.gz # Source0-md5: c236e0142adecc1b1104da664bc43a79 -URL: http://search.cpan.org/dist/URI/ +URL: https://metacpan.org/release/URI BuildRequires: perl-devel >= 1:5.8.1 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.745 %if %{with tests} BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl-Encode -- 2.44.0