public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dnf5] rawhide: spec: Build-require perl(lib) for tests
@ 2026-09-04 12:23
0 siblings, 0 replies; only message in thread
From: @ 2026-09-04 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/dnf5
Branch : rawhide
Commit : c2fd66e2275323f8a8782537460051c873468124
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-09-04T12:58:50+02:00
Stats : +33/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/dnf5/c/c2fd66e2275323f8a8782537460051c873468124?branch=rawhide
Log:
spec: Build-require perl(lib) for tests
---
diff --git a/0004-spec-Build-require-perl-lib-for-tests.patch b/0004-spec-Build-require-perl-lib-for-tests.patch
new file mode 100644
index 0000000..a0abc94
--- /dev/null
+++ b/0004-spec-Build-require-perl-lib-for-tests.patch
@@ -0,0 +1,30 @@
+From 146b3e55c92bb6f01917f0365747b8d7cc4dd3f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Mon, 31 Aug 2026 13:59:08 +0200
+Subject: [PATCH] spec: Build-require perl(lib) for tests
+
+A new test/perl5/libdnf5/base/test_interaction_callbacks.t file added
+in eaae68a4f450bb90f89fb389f3aaa00b657cfe78 commit ("tests: add unit
+tests for InteractionCallbacks") uses "lib" Perl module, but the spec
+file does not declare the dependecny.
+
+This patch fixes it.
+---
+ dnf5.spec | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/dnf5.spec b/dnf5.spec
+index 580cbaa48..89faa0a5e 100644
+--- a/dnf5.spec
++++ b/dnf5.spec
+@@ -260,6 +260,7 @@ BuildRequires: swig >= %{swig_version}
+ BuildRequires: perl-devel
+ BuildRequires: perl-generators
+ %if %{with tests}
++BuildRequires: perl(lib)
+ BuildRequires: perl(strict)
+ BuildRequires: perl(Test::More)
+ BuildRequires: perl(Test::Exception)
+--
+2.55.0
+
diff --git a/dnf5.spec b/dnf5.spec
index 8c9dfb5..0299f8c 100644
--- a/dnf5.spec
+++ b/dnf5.spec
@@ -85,6 +85,7 @@ Source0: %{url}/archive/%{version}/dnf5-%{version}.tar.gz
Patch1: 0001-spec-Fix-bcond-ordering-so-plugin_systemd_inhibit-is.patch
Patch2: 0002-libdnf5-Fix-dangling-reference-bug-in-is_vendor_chan.patch
Patch3: 0003-spec-Mark-all-etc-configuration-files-as-noreplacibl.patch
+Patch4: 0004-spec-Build-require-perl-lib-for-tests.patch
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
@@ -263,6 +264,7 @@ BuildRequires: swig >= %{swig_version}
BuildRequires: perl-devel
BuildRequires: perl-generators
%if %{with tests}
+BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Exception)
@@ -1211,6 +1213,7 @@ mkdir -p %{buildroot}%{_libdir}/libdnf5/plugins
- spec: Fix bcond ordering so plugin_systemd_inhibit is enabled
- libdnf5: Fix dangling reference bug in is_vendor_change_allowed
- spec: Mark all /etc configuration files as noreplacible
+- spec: Build-require perl(lib) for tests
* Wed Aug 19 2026 Petr Pisar <ppisar@redhat.com> - 5.4.3.0-2
- Restore ABI (upstream GH#2869)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:23 [rpms/dnf5] rawhide: spec: Build-require perl(lib) for tests
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox