From 52d3bbc2631821cb9906f84b366d4e0c7b70da29 Mon Sep 17 00:00:00 2001 From: hongjinghao Date: Mon, 31 Oct 2022 09:30:14 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0%{mod=5Fname}=E5=AE=8F=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0%{mod=5Fname}=E5=AE=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hongjinghao --- perl-WWW-RobotRules.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/perl-WWW-RobotRules.spec b/perl-WWW-RobotRules.spec index 52d489e..547e607 100644 --- a/perl-WWW-RobotRules.spec +++ b/perl-WWW-RobotRules.spec @@ -1,13 +1,14 @@ %define __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(URI\\)$ %define __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(WWW::RobotRules::InCore\\) +%define mod_name WWW-RobotRules Name: perl-WWW-RobotRules Version: 6.02 -Release: 21 +Release: 22 Summary: This module parses the /robots.txt file as specified in "A Standard for Robot Exclusion" License: GPL+ or Artistic -URL: https://metacpan.org/release/WWW-RobotRules -Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-%{version}.tar.gz +URL: https://metacpan.org/release/%{mod_name} +Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/%{mod_name}-%{version}.tar.gz BuildRequires: perl-generators perl(AnyDBM_File) perl(Carp) perl(ExtUtils::MakeMaker) perl(Fcntl) perl(URI) >= 1.10 @@ -26,7 +27,7 @@ Buildarch: noarch This package includes help documentation and manuals related to perl-WWW-RobotRules. %prep -%autosetup -n WWW-RobotRules-6.02 -p1 +%autosetup -n %{mod_name}-6.02 -p1 %build perl Makefile.PL INSTALLDIRS=vendor @@ -49,5 +50,8 @@ make test %{_mandir}/man3/* %changelog +* Mon Oct 31 2022 hongjinghao - 6.02-22 +- use %{mod_name} marco + * Thu Oct 17 2019 dongjian - 6.02-21 - Package init