Build without Class::Load::XS for EPEL

epel9
Paul Howarth 5 years ago
parent 91157917c9
commit 31d9ca029b

@ -1,6 +1,13 @@
# Class::Load::XS is an optional extra
%if 0%{?rhel:1}
%bcond_with Class_Load_XS
%else
%bcond_without Class_Load_XS
%endif
Name: perl-Class-Load Name: perl-Class-Load
Version: 0.25 Version: 0.25
Release: 8%{?dist} Release: 9%{?dist}
Summary: A working (require "Class::Name") and more Summary: A working (require "Class::Name") and more
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Class-Load URL: https://metacpan.org/release/Class-Load
@ -31,7 +38,7 @@ BuildRequires: perl(Try::Tiny)
# Regular test suite requirements # Regular test suite requirements
# =================================================================== # ===================================================================
# Class::Load::XS → Class::Load # Class::Load::XS → Class::Load
%if 0%{!?perl_bootstrap:1} %if 0%{!?perl_bootstrap:1} && %{with Class_Load_XS}
BuildRequires: perl(Class::Load::XS) BuildRequires: perl(Class::Load::XS)
%endif %endif
BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta) >= 2.120900
@ -87,6 +94,9 @@ make test
%{_mandir}/man3/Class::Load.3* %{_mandir}/man3/Class::Load.3*
%changelog %changelog
* Sun Oct 13 2019 Paul Howarth <paul@city-fan.org> - 0.25-9
- Build without Class::Load::XS for EPEL
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-8 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Loading…
Cancel
Save