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