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 <vg.aetera@gmail.com>
This commit is contained in:
Vladislav Grigoryev
2026-07-04 11:10:48 +03:00
parent 889c0aaf29
commit 3a92e8742f
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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)
+3 -2
View File
@@ -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 <louiz@louiz.org> - 8.4-1
Update to version 8.4
* Wed Jun 1 2018 Le Coz Florent <louiz@louiz.org> - 8.3-1
* Fri Jun 1 2018 Le Coz Florent <louiz@louiz.org> - 8.3-1
Update to version 8.3
* Fri May 25 2018 Le Coz Florent <louiz@louiz.org> - 8.2-1