Use author-independent URLs, BR:/R: gcc and gcc-c++

Work around ExtUtils::CBuilder in EL-8 having no dependency on gcc or gcc-c++
(#1547165).
This commit is contained in:
Paul Howarth 2019-08-23 16:55:30 +01:00
parent 4773d808a3
commit f019015389

View File

@ -1,14 +1,14 @@
Summary: A tiny replacement for Module::Build
Name: perl-Module-Build-Tiny
Version: 0.039
Release: 14%{?dist}
Release: 15%{?dist}
License: GPL+ or Artistic
URL: https://github.com/Leont/module-build-tiny
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-%{version}.tar.gz
URL: https://metacpan.org/release/Module-Build-Tiny
Source0: https://cpan.metacpan.org/modules/by-module/Module/Module-Build-Tiny-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
# Module
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(DynaLoader)
@ -48,6 +48,13 @@ Requires: perl(ExtUtils::ParseXS)
Requires: perl(Pod::Man)
Requires: perl(TAP::Harness::Env)
# ExtUtils::CBuilder in EL-8 has no dependency on gcc or c++ (#1547165)
# so pull them in ourselves
%if 0%{?el8}
BuildRequires: gcc, gcc-c++
Requires: gcc, gcc-c++
%endif
%description
Many Perl distributions use a Build.PL file instead of a Makefile.PL file to
drive distribution configuration, build, test and installation. Traditionally,
@ -74,9 +81,14 @@ AUTHOR_TESTING=1 RELEASE_TESTING=1 ./Build test
%license LICENSE
%doc Changes README Todo
%{perl_vendorlib}/Module/
%{_mandir}/man3/Module::Build::Tiny.3pm*
%{_mandir}/man3/Module::Build::Tiny.3*
%changelog
* Fri Aug 23 2019 Paul Howarth <paul@city-fan.org> - 0.039-15
- Use author-independent URLs
- Work around ExtUtils::CBuilder in EL-8 having no dependency on gcc or gcc-c++
(#1547165)
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.039-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild