public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dolphin] f43: Add version constraint for KF6BalooWidgets
@ 2026-06-23 17:50 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-23 17:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/dolphin
            Branch : f43
            Commit : f15f9ce78680bcd6f17614021130621c5f1624d2
            Author : Timothée Ravier <tim@siosm.fr>
            Date   : 2026-05-18T14:54:11+02:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/dolphin/c/f15f9ce78680bcd6f17614021130621c5f1624d2?branch=f43

            Log:
            Add version constraint for KF6BalooWidgets

The version of KF6BalooWidgets must match Dolphin's version as both are
part of Gear. Thus add a constraint to make sure we fail the build if
that's not the case. Use the major.minor.patch macros to not fail the
build for hotfixes.

---
diff --git a/dolphin.spec b/dolphin.spec
index 9ceab0b..f3eb65c 100644
--- a/dolphin.spec
+++ b/dolphin.spec
@@ -3,7 +3,7 @@
 Name:           dolphin
 Summary:        KDE File Manager
 Version:        26.04.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 License:        BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
 URL:            https://invent.kde.org/system/dolphin
@@ -19,7 +19,9 @@ BuildRequires:  extra-cmake-modules
 BuildRequires:  kf6-rpm-macros
 
 BuildRequires:  cmake(KF6Baloo)
-BuildRequires:  cmake(KF6BalooWidgets)
+# baloo-widget is part of Gear like Dolphin thus both versions need to match.
+# We use the major.minor.patch macros to not fail the build on hotfix releases.
+BuildRequires:  cmake(KF6BalooWidgets) >= %{maj_ver_kf6}.%{min_ver_kf6}.%{bug_ver_kf6}
 BuildRequires:  cmake(KF6Bookmarks)
 BuildRequires:  cmake(KF6Codecs)
 BuildRequires:  cmake(KF6Completion)
@@ -163,6 +165,9 @@ xvfb-run -a bash -c "%ctest" || :
 
 
 %changelog
+* Mon May 18 2026 Timothée Ravier <tim@siosm.fr> - 26.04.1-3
+- Add version constraint for KF6BalooWidgets
+
 * Mon May 18 2026 Timothée Ravier <tim@siosm.fr> - 26.04.1-2
 - Rebuild to use a matching version for KF6BalooWidgets (part of Gear)
 

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

only message in thread, other threads:[~2026-06-23 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 17:50 [rpms/dolphin] f43: Add version constraint for KF6BalooWidgets 

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