public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Georg Sauthoff <mail@gms.tf>
To: git-commits@fedoraproject.org
Subject: [rpms/quassel] rawhide: fix build on epel10 (fixes fedora#2532963)
Date: Wed, 07 Oct 2026 09:56:42 GMT [thread overview]
Message-ID: <179136700286.1.12678656700105423243.rpms-quassel-98fc3125cf9a@fedoraproject.org> (raw)
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/*/*/*
reply other threads:[~2026-10-07 9:56 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=179136700286.1.12678656700105423243.rpms-quassel-98fc3125cf9a@fedoraproject.org \
--to=mail@gms.tf \
--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