public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Exporter-Tiny] rawhide: Weaken the Lexical::Var dependency if it's used at all
@ 2026-11-05 10:40 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-11-05 10:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Exporter-Tiny
Branch : rawhide
Commit : b8b43c919e0c832d2e6ee6f423b59a86725b3cdf
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-11-05T10:37:10+00:00
Stats  : +5/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Exporter-Tiny/c/b8b43c919e0c832d2e6ee6f423b59a86725b3cdf?branch=rawhide

Log:
Weaken the Lexical::Var dependency if it's used at all

---
diff --git a/perl-Exporter-Tiny.spec b/perl-Exporter-Tiny.spec
index c3c26c6..18e3b63 100644
--- a/perl-Exporter-Tiny.spec
+++ b/perl-Exporter-Tiny.spec
@@ -15,10 +15,10 @@ BuildRequires:	coreutils
 BuildRequires:	make
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
+# If we don't have at least 5.37.2 then we'll need Lexical::Var
 %if %{with lexical_var}
 BuildRequires:	perl(Lexical::Var)
 %else
-# If we don't have at least 5.37.2 then we'll need Lexical::Var
 BuildRequires:	perl(:VERSION) >= 5.37.2
 %endif
 BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
@@ -35,10 +35,10 @@ BuildRequires:	perl(Test::More) >= 0.47
 BuildRequires:	perl(Test::Fatal)
 BuildRequires:	perl(Test::Warnings)
 # Dependencies
+Requires:	perl(Carp)
 %if %{with lexical_var}
-Requires:	perl(Lexical::Var)
+Recommends:	perl(Lexical::Var)
 %endif
-Requires:	perl(Carp)
 
 # Avoid doc-file dependency on perl(base)
 %{?perl_default_filter}
@@ -89,7 +89,8 @@ make test
 
 %changelog
 * Sun Nov 01 2026 Sai Harsha Suryadevara <ssuryad@amazon.com> - 1.006003-4
-- Add a build conditional to use Lexical::Var for the -lexical export option on Perl older than 5.37.2, default off
+- Add a build conditional to use Lexical::Var for the -lexical export option on
+  Perl older than 5.37.2, default off
 
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.006003-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-05 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 10:40 [rpms/perl-Exporter-Tiny] rawhide: Weaken the Lexical::Var dependency if it's used at all Paul Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox