代码拉取完成,页面将自动刷新
%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: 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/%{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
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) perl(URI) >= 1.10
Conflicts: perl-libwww-perl < 6
BuildArch: noarch
%description
This is database of robots.txt-derived permissions. It parses the /robots.txt file as specified in "A Standard for Robot Exclusion".
%package help
Summary: Help documentation for perl-WWW-RobotRules
Buildarch: noarch
%description help
This package includes help documentation and manuals related to perl-WWW-RobotRules.
%prep
%autosetup -n %{mod_name}-6.02 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Mon Oct 31 2022 hongjinghao <[email protected]> - 6.02-22
- use %{mod_name} marco
* Thu Oct 17 2019 dongjian <[email protected]> - 6.02-21
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。