public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Module-Build-Tiny] rawhide: Conditionalize CPAN::Requirements::Dynamic dependency
Date: Tue, 28 Jul 2026 08:00:30 GMT	[thread overview]
Message-ID: <178522563089.1.2232910239427277497.rpms-perl-Module-Build-Tiny-289f9c568e85@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-Module-Build-Tiny
            Branch : rawhide
            Commit : 289f9c568e8503d8e9a0ccec4802948a4a09a455
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-27T19:31:49-04:00
            Stats  : +11/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Module-Build-Tiny/c/289f9c568e8503d8e9a0ccec4802948a4a09a455?branch=rawhide

            Log:
            Conditionalize CPAN::Requirements::Dynamic dependency

This was made optional in 0.051.

---
diff --git a/perl-Module-Build-Tiny.spec b/perl-Module-Build-Tiny.spec
index d3017a2..855db6c 100644
--- a/perl-Module-Build-Tiny.spec
+++ b/perl-Module-Build-Tiny.spec
@@ -1,7 +1,10 @@
+# optional dependency
+%bcond perl_Module_Build_Tiny_enables_dynamic_prereqs %{undefined rhel}
+
 Summary:	A tiny replacement for Module::Build
 Name:		perl-Module-Build-Tiny
 Version:	0.053
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Module-Build-Tiny
 Source0:	https://cpan.metacpan.org/modules/by-module/Module/Module-Build-Tiny-%{version}.tar.gz
@@ -12,7 +15,9 @@ BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
 # Module
 BuildRequires:	perl(CPAN::Meta)
+%if %{with perl_Module_Build_Tiny_enables_dynamic_prereqs}
 BuildRequires:	perl(CPAN::Requirements::Dynamic)
+%endif
 BuildRequires:	perl(DynaLoader)
 BuildRequires:	perl(Exporter) >= 5.57
 BuildRequires:	perl(ExtUtils::CBuilder)
@@ -41,7 +46,9 @@ BuildRequires:	perl(Test::More) >= 0.88
 BuildRequires:	perl(Test::Pod) >= 1.41
 BuildRequires:	perl(XSLoader)
 # Dependencies
+%if %{with perl_Module_Build_Tiny_enables_dynamic_prereqs}
 Requires:	perl(CPAN::Requirements::Dynamic)
+%endif
 Requires:	perl(DynaLoader)
 Requires:	perl(ExtUtils::CBuilder)
 Requires:	perl(ExtUtils::ParseXS)
@@ -85,6 +92,9 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/Module::Build::Tiny.3*
 
 %changelog
+* Mon Jul 27 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.053-3
+- Conditionalize CPAN::Requirements::Dynamic dependency
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.053-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-07-28  8:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178522563089.1.2232910239427277497.rpms-perl-Module-Build-Tiny-289f9c568e85@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox