public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/quassel] rawhide: fix build on epel10 (fixes fedora#2532963)
@ 2026-10-07 9:56 Georg Sauthoff
0 siblings, 0 replies; only message in thread
From: Georg Sauthoff @ 2026-10-07 9:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/quassel
Branch : rawhide
Commit : 98fc3125cf9a3442633223ad0b22646fb14a921b
Author : Georg Sauthoff <mail@gms.tf>
Date : 2026-10-07T11:54:04+02:00
Stats : +20/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/quassel/c/98fc3125cf9a3442633223ad0b22646fb14a921b?branch=rawhide
Log:
fix build on epel10 (fixes fedora#2532963)
change is based on patch authored by Gerd v. Egidy
via https://bugzilla.redhat.com/show_bug.cgi?id=2532963,
only slightly modified
---
diff --git a/quassel.spec b/quassel.spec
index 95fd72b..0739dec 100755
--- a/quassel.spec
+++ b/quassel.spec
@@ -1,4 +1,9 @@
%global quassel_data_dir %{_var}/lib/quassel
+%if 0%{?epel} != 0
+# we don't have kf5-rpm-macros on EL10, so define the necessary dirs manually
+%global _kf5_datadir %_datadir
+%global _kf5_bindir %_prefix/bin
+%endif
Name: quassel
Summary: A modern distributed IRC system
@@ -11,9 +16,11 @@ URL: https://quassel-irc.org/
Source0: https://quassel-irc.org/pub/quassel-%{version}.tar.bz2
BuildRequires: cmake
-BuildRequires: dbusmenu-qt5-devel
BuildRequires: desktop-file-utils
BuildRequires: extra-cmake-modules
+
+%if 0%{?epel} == 0
+BuildRequires: dbusmenu-qt5-devel
BuildRequires: kf5-kconfigwidgets-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-knotifications-devel
@@ -23,14 +30,16 @@ BuildRequires: kf5-kwidgetsaddons-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: kf5-kxmlgui-devel
BuildRequires: kf5-rpm-macros
+BuildRequires: phonon-qt5-devel
+BuildRequires: qt5-qtwebkit-devel
+%endif
+
BuildRequires: openssl-devel
BuildRequires: perl-generators
-BuildRequires: phonon-qt5-devel
BuildRequires: qca-qt5-devel
BuildRequires: qt5-linguist
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtscript-devel
-BuildRequires: qt5-qtwebkit-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: openldap-devel
BuildRequires: boost-devel
@@ -92,8 +101,14 @@ Quassel client
%autosetup -p0 -n %{name}-%{version}
%build
+%if 0%{?epel} == 0
%cmake_kf5 \
-DWANT_MONO=1 -DUSE_QT5=1 -DWITH_KDE=1 -DHAVE_SSL=1 -DENABLE_SHARED=OFF
+%else
+# we don't have KDE/kf5 on EL10, so do a QT-only build instead
+%cmake \
+ -DWANT_MONO=1 -DUSE_QT5=1 -DHAVE_SSL=1 -DENABLE_SHARED=OFF
+%endif
%cmake_build
@@ -141,7 +156,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat
%files common
%doc README.md
%license COPYING gpl-2.0.txt gpl-3.0.txt
+%if 0%{?epel} == 0
%{_kf5_datadir}/knotifications5/quassel.notifyrc
+%endif
%{_kf5_datadir}/quassel/
%{_kf5_datadir}/icons/hicolor/*/*/*
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 9:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 9:56 [rpms/quassel] rawhide: fix build on epel10 (fixes fedora#2532963) Georg Sauthoff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox