public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/dnf5] f45: spec: Build-require perl(lib) for tests
Date: Fri, 04 Sep 2026 12:32:42 GMT	[thread overview]
Message-ID: <178852516231.1.5274485369084161560.rpms-dnf5-c2fd66e22753@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/dnf5
Branch : f45
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=f45

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)

                 reply	other threads:[~2026-09-04 12:32 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=178852516231.1.5274485369084161560.rpms-dnf5-c2fd66e22753@fedoraproject.org \
    --to=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