From 3a92e8742ff30230a82071cc15f510f706251863 Mon Sep 17 00:00:00 2001 From: Vladislav Grigoryev Date: Tue, 3 Feb 2026 12:12:01 +0300 Subject: [PATCH] Fix RPM builds on Fedora Linux * Add missing build dependency * Fix bogus date in %changelog * Fix path to the systemd unit * Use SPDX license identifier Signed-off-by: Vladislav Grigoryev --- CMakeLists.txt | 2 +- packaging/biboumi.spec.cmake | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2971f2a..c996f73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -358,7 +358,7 @@ endif() install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/biboumi.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 OPTIONAL COMPONENT documentation) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/biboumi.service DESTINATION /usr/lib/systemd/system COMPONENT init) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/biboumi.service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system COMPONENT init) file(GLOB policy_files conf/*policy.txt) install(FILES ${policy_files} DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/biboumi COMPONENT configuration) diff --git a/packaging/biboumi.spec.cmake b/packaging/biboumi.spec.cmake index 7dc30d0..748904a 100644 --- a/packaging/biboumi.spec.cmake +++ b/packaging/biboumi.spec.cmake @@ -3,7 +3,7 @@ Version: ${RPM_VERSION} Release: 1%{?dist} Summary: Lightweight XMPP to IRC gateway -License: zlib +License: Zlib URL: https://biboumi.codeberg.page/ Source0: https://codeberg.org/poezio/biboumi/archive/%{version}.tar.gz @@ -16,6 +16,7 @@ BuildRequires: postgresql-devel BuildRequires: botan3-devel BuildRequires: catch-devel BuildRequires: cmake +BuildRequires: g++ BuildRequires: systemd BuildRequires: python3-sphinx @@ -77,7 +78,7 @@ make check %{?_smp_mflags} * Tue Feb 25 2020 Le Coz Florent - 8.4-1 Update to version 8.4 -* Wed Jun 1 2018 Le Coz Florent - 8.3-1 +* Fri Jun 1 2018 Le Coz Florent - 8.3-1 Update to version 8.3 * Fri May 25 2018 Le Coz Florent - 8.2-1