public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libdnf-plugin-txnupd] rawhide: Backport fix to link to tukit properly
Date: Mon, 15 Jun 2026 20:49:50 GMT	[thread overview]
Message-ID: <178155659007.1.10303199548035507870.rpms-libdnf-plugin-txnupd-14f7dd1c7c1c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libdnf-plugin-txnupd
Branch : rawhide
Commit : 14f7dd1c7c1c93f8affd051cf3dbaf781fdbe900
Author : Neal Gompa <ngompa@fedoraproject.org>
Date   : 2026-06-15T16:49:29-04:00
Stats  : +46/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libdnf-plugin-txnupd/c/14f7dd1c7c1c93f8affd051cf3dbaf781fdbe900?branch=rawhide

Log:
Backport fix to link to tukit properly

---
diff --git a/3add4c39b5506f8bfafd1daca3bf6165e55c5e18.patch b/3add4c39b5506f8bfafd1daca3bf6165e55c5e18.patch
new file mode 100644
index 0000000..278d7c4
--- /dev/null
+++ b/3add4c39b5506f8bfafd1daca3bf6165e55c5e18.patch
@@ -0,0 +1,38 @@
+From 3add4c39b5506f8bfafd1daca3bf6165e55c5e18 Mon Sep 17 00:00:00 2001
+From: Shawn W Dunn <sfalken@kalpadesktop.org>
+Date: Mon, 15 Jun 2026 12:51:43 -0700
+Subject: [PATCH] add linking for libtukit
+
+Missed when adding the txnupd handling for the new commands
+---
+ CMakeLists.txt                 | 1 +
+ src/dnf5-plugin/CMakeLists.txt | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0bbd592..21bc582 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,6 +52,7 @@ add_compile_definitions(
+ # Shared utility code (PUBLIC includes so plugin subdirs inherit the path)
+ add_library(txnupd_util STATIC src/txnupd_util.cpp)
+ target_include_directories(txnupd_util PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
++target_link_libraries(txnupd_util PUBLIC PkgConfig::TUKIT)
+ 
+ add_subdirectory(src/libdnf5-plugin)
+ add_subdirectory(src/dnf5-plugin)
+diff --git a/src/dnf5-plugin/CMakeLists.txt b/src/dnf5-plugin/CMakeLists.txt
+index 35555eb..5f6d0c3 100644
+--- a/src/dnf5-plugin/CMakeLists.txt
++++ b/src/dnf5-plugin/CMakeLists.txt
+@@ -8,6 +8,7 @@ target_include_directories(txnupd_dnf5_cmd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
+ target_link_libraries(txnupd_dnf5_cmd PRIVATE
+     PkgConfig::LIBDNF5
+     PkgConfig::LIBDNF5_CLI
++    PkgConfig::TUKIT
+     ${DNF5_LIB}
+     txnupd_util
+ )
+-- 
+GitLab
+

diff --git a/libdnf-plugin-txnupd.spec b/libdnf-plugin-txnupd.spec
index 1228280..f7cad7f 100644
--- a/libdnf-plugin-txnupd.spec
+++ b/libdnf-plugin-txnupd.spec
@@ -6,13 +6,16 @@
 
 Name:           libdnf-plugin-txnupd
 Version:        0.3.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        libdnf5 plugin to implement transactional updates
 
 License:        LGPL-2.1-or-later
 URL:            https://gitlab.com/VelocityLimitless/Projects/libdnf-plugin-txnupd
 Source:         %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
 
+# Backports from upstream
+Patch00001:     https://gitlab.com/VelocityLimitless/Projects/libdnf-plugin-txnupd/-/commit/3add4c39b5506f8bfafd1daca3bf6165e55c5e18.patch
+
 # Temporary until all supported releases have DNF 5.4+
 Patch10001:     libdnf-plugin-txnupd-Downgrade-dnf5-dependency.patch
 
@@ -79,7 +82,7 @@ PackageKit to enable this functionality in normal use.
 
 %prep
 %autosetup -N
-%autopatch -M 10000
+%autopatch -p1 -M 10000
 
 %if ! %{with new_dnf5}
 # patch for compatibility for dnf5 < 5.4
@@ -124,6 +127,9 @@ echo "libdnf5-plugin-txnupd" > %{buildroot}%{_sysconfdir}/dnf/protected.d/txnupd
 
 
 %changelog
+* Mon Jun 15 2026 Neal Gompa <ngompa@fedoraproject.org> - 0.3.0-2
+- Backport fix to link to tukit properly
+
 * Sun May 31 2026 Neal Gompa <ngompa@fedoraproject.org> - 0.3.0-1
 - Update to 0.3.0
 

                 reply	other threads:[~2026-06-15 20:49 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=178155659007.1.10303199548035507870.rpms-libdnf-plugin-txnupd-14f7dd1c7c1c@fedoraproject.org \
    --to=ngompa@fedoraproject.org \
    --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