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-Package-Generator] rawhide: Conditionalize Params::Util dependency
Date: Fri, 09 Oct 2026 17:27:37 GMT	[thread overview]
Message-ID: <179156685794.1.6588178073698781416.rpms-perl-Package-Generator-5412d62fb964@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-Package-Generator
            Branch : rawhide
            Commit : 5412d62fb9649d01726631a2a0853ec4597b6165
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-09T12:49:00-04:00
            Stats  : +9/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Package-Generator/c/5412d62fb9649d01726631a2a0853ec4597b6165?branch=rawhide

            Log:
            Conditionalize Params::Util dependency

Params::Util is used only for one test, which is skipped if absent.

---
diff --git a/perl-Package-Generator.spec b/perl-Package-Generator.spec
index 27e349a..1553b28 100644
--- a/perl-Package-Generator.spec
+++ b/perl-Package-Generator.spec
@@ -1,13 +1,15 @@
 # Run extra test
 %if ! (0%{?rhel})
 %bcond_without perl_Package_Generator_enables_extra_test
+%bcond_without perl_Package_Generator_enables_optional_test
 %else
 %bcond_with perl_Package_Generator_enables_extra_test
+%bcond_with perl_Package_Generator_enables_optional_test
 %endif
 
 Name:		perl-Package-Generator
 Version:	1.106
-Release:	36%{?dist}
+Release:	37%{?dist}
 Summary:	Generate new packages quickly and easily
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Package-Generator
@@ -26,8 +28,10 @@ BuildRequires:	perl(Scalar::Util)
 BuildRequires:	perl(strict)
 BuildRequires:	perl(warnings)
 # Test Suite
-BuildRequires:	perl(Params::Util) >= 0.11
 BuildRequires:	perl(Test::More) >= 0.96
+%if %{with perl_Package_Generator_enables_optional_test}
+BuildRequires:	perl(Params::Util) >= 0.11
+%endif
 %if %{with perl_Package_Generator_enables_extra_test}
 # Extra Tests
 BuildRequires:	perl(Test::Pod) >= 1.41
@@ -64,6 +68,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 %{_mandir}/man3/Package::Reaper.3*
 
 %changelog
+* Fri Oct 09 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.106-37
+- Conditionalize Params::Util dependency
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.106-36
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-10-09 17:27 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=179156685794.1.6588178073698781416.rpms-perl-Package-Generator-5412d62fb964@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