[packages/perl-Declare-Constraints-Simple] - updated URLs and macros

qboosh qboosh at pld-linux.org
Wed Sep 24 21:45:24 CEST 2025


commit a061972d0af70cb860e9df04b60dd0969fad6f83
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 24 21:48:24 2025 +0200

    - updated URLs and macros

 perl-Declare-Constraints-Simple.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-Declare-Constraints-Simple.spec b/perl-Declare-Constraints-Simple.spec
index 9bf569c..84faa6a 100644
--- a/perl-Declare-Constraints-Simple.spec
+++ b/perl-Declare-Constraints-Simple.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	tests		# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define	pdir	Declare
 %define	pnam	Constraints-Simple
@@ -12,11 +12,12 @@ Release:	3
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-authors/id/P/PH/PHAYLON/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0:	https://www.cpan.org/modules/by-authors/id/P/PH/PHAYLON/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	abcd5e9f2dd034deed975601b38d684e
-URL:		http://search.cpan.org/dist/Declare-Constraints-Simple/
+URL:		https://metacpan.org/dist/Declare-Constraints-Simple
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
 BuildRequires:	perl-Carp-Clan
 BuildRequires:	perl-Class-Inspector
@@ -25,7 +26,7 @@ BuildRequires:	perl-aliased
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	perl(Declare::Constraints::Simple-Library)
+%define		_noautoreq_perl	Declare::Constraints::Simple-Library
 
 %description
 The main purpose of this module is to provide an easy way to build a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Declare-Constraints-Simple.git/commitdiff/a061972d0af70cb860e9df04b60dd0969fad6f83



More information about the pld-cvs-commit mailing list