public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libdnf-plugin-txnupd] rawhide: Backport fix to link to tukit properly
@ 2026-06-15 20:49 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-06-15 20:49 UTC (permalink / raw)
  To: git-commits

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
 

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

only message in thread, other threads:[~2026-06-15 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 20:49 [rpms/libdnf-plugin-txnupd] rawhide: Backport fix to link to tukit properly Neal Gompa

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