|
|
16f0d22 |
Name: perl-URI-cpan
|
|
|
16f0d22 |
Version: 1.007
|
|
|
bdf9f39 |
Release: 5%{?dist}
|
|
|
16f0d22 |
Summary: URLs that refer to things on the CPAN
|
|
|
16f0d22 |
License: GPL+ or Artistic
|
|
|
16f0d22 |
URL: https://metacpan.org/release/URI-cpan
|
|
|
16f0d22 |
Source0: https://cpan.metacpan.org/modules/by-module/URI/URI-cpan-%{version}.tar.gz
|
|
|
16f0d22 |
BuildArch: noarch
|
|
|
16f0d22 |
# Build
|
|
|
16f0d22 |
BuildRequires: coreutils
|
|
|
16f0d22 |
BuildRequires: make
|
|
|
16f0d22 |
BuildRequires: perl-generators
|
|
|
16f0d22 |
BuildRequires: perl-interpreter
|
|
|
5bf14ff |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
16f0d22 |
# Module
|
|
|
16f0d22 |
BuildRequires: perl(Carp)
|
|
|
16f0d22 |
BuildRequires: perl(CPAN::DistnameInfo)
|
|
|
16f0d22 |
BuildRequires: perl(parent)
|
|
|
16f0d22 |
BuildRequires: perl(strict)
|
|
|
16f0d22 |
BuildRequires: perl(URI::_generic)
|
|
|
16f0d22 |
BuildRequires: perl(warnings)
|
|
|
16f0d22 |
# Test Suite
|
|
|
16f0d22 |
BuildRequires: perl(File::Spec)
|
|
|
16f0d22 |
BuildRequires: perl(Test::More) >= 0.96
|
|
|
16f0d22 |
BuildRequires: perl(URI)
|
|
|
16f0d22 |
# Optional Tests
|
|
|
16f0d22 |
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
16f0d22 |
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
16f0d22 |
# Runtime
|
|
|
16f0d22 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
16f0d22 |
|
|
|
16f0d22 |
%description
|
|
|
16f0d22 |
This module is for handling URLs that refer to things on the CPAN.
|
|
|
16f0d22 |
|
|
|
16f0d22 |
%prep
|
|
|
16f0d22 |
%setup -q -n URI-cpan-%{version}
|
|
|
16f0d22 |
|
|
|
16f0d22 |
%build
|
|
|
5bf14ff |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
16f0d22 |
%{make_build}
|
|
|
16f0d22 |
|
|
|
16f0d22 |
%install
|
|
|
5bf14ff |
%{make_install}
|
|
|
16f0d22 |
%{_fixperms} -c %{buildroot}
|
|
|
16f0d22 |
|
|
|
16f0d22 |
%check
|
|
|
16f0d22 |
make test
|
|
|
16f0d22 |
|
|
|
16f0d22 |
%files
|
|
|
16f0d22 |
%license LICENSE
|
|
|
16f0d22 |
%doc Changes README
|
|
|
16f0d22 |
%{perl_vendorlib}/URI/
|
|
|
16f0d22 |
%{_mandir}/man3/URI::cpan.3*
|
|
|
16f0d22 |
%{_mandir}/man3/URI::cpan::author.3*
|
|
|
16f0d22 |
%{_mandir}/man3/URI::cpan::dist.3*
|
|
|
16f0d22 |
%{_mandir}/man3/URI::cpan::distfile.3*
|
|
|
16f0d22 |
%{_mandir}/man3/URI::cpan::module.3*
|
|
|
16f0d22 |
%{_mandir}/man3/URI::cpan::package.3*
|
|
|
16f0d22 |
|
|
|
16f0d22 |
%changelog
|
|
|
bdf9f39 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.007-5
|
|
|
bdf9f39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
bdf9f39 |
|
|
|
5bf14ff |
* Tue Sep 15 2020 Paul Howarth <paul@city-fan.org> - 1.007-4
|
|
|
5bf14ff |
- Modernize spec using %%{make_install}
|
|
|
5bf14ff |
|
|
|
16f0d22 |
* Tue Sep 15 2020 Paul Howarth <paul@city-fan.org> - 1.007-3
|
|
|
16f0d22 |
- perl(URI) is a test requirement, not a module requirement (#1876259)
|
|
|
16f0d22 |
|
|
|
16f0d22 |
* Sun Sep 6 2020 Paul Howarth <paul@city-fan.org> - 1.007-2
|
|
|
16f0d22 |
- Sanitize for Fedora
|
|
|
16f0d22 |
|
|
|
16f0d22 |
* Sun Sep 6 2020 Paul Howarth <paul@city-fan.org> - 1.007-1
|
|
|
16f0d22 |
- Initial RPM version
|