Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/perl-WWW-RobotRules.git#055cb4a7e897b0424855804b4065937cf28dc9a0
This commit is contained in:
parent
ad03f81b81
commit
ffeba8241a
2
.rpmlint
2
.rpmlint
@ -1,2 +0,0 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error .* (html|http|norobots|robotstxt|txt|wc)");
|
||||
2
perl-WWW-RobotRules.rpmlintrc
Normal file
2
perl-WWW-RobotRules.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error .* (html|http|robotstxt|txt|wc)");
|
||||
@ -1,18 +1,28 @@
|
||||
Name: perl-WWW-RobotRules
|
||||
Version: 6.02
|
||||
Release: 26%{?dist}
|
||||
Release: 27%{?dist}
|
||||
Summary: Database of robots.txt-derived permissions
|
||||
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
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(:VERSION) >= 5.8.1
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
BuildRequires: perl(AnyDBM_File)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(URI) >= 1.10
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRequires: perl(vars)
|
||||
# Tests:
|
||||
# LWP::RobotUA not used
|
||||
# URI::URL not used
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(URI) >= 1.10
|
||||
Conflicts: perl-libwww-perl < 6
|
||||
|
||||
@ -23,7 +33,7 @@ Conflicts: perl-libwww-perl < 6
|
||||
|
||||
%description
|
||||
This module parses /robots.txt files as specified in "A Standard for Robot
|
||||
Exclusion", at <http://www.robotstxt.org/wc/norobots.html>. Webmasters can
|
||||
Exclusion", at <https://www.robotstxt.org/robotstxt.html>. Webmasters can
|
||||
use the /robots.txt file to forbid conforming robots from accessing parts
|
||||
of their web site.
|
||||
|
||||
@ -31,13 +41,11 @@ of their web site.
|
||||
%setup -q -n WWW-RobotRules-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{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 \;
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
@ -49,6 +57,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 15 2021 Petr Pisar <ppisar@redhat.com> - 6.02-27
|
||||
- Modernize a spec file
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user