public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/coturn] main: Enable prometheus support (thanks to Ricardo Domingues)
@ 2026-06-25 20:29 Robert Scheck
  0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-06-25 20:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/coturn
Branch : main
Commit : a372ded5cbf376f993305b8966c79269bca90455
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-06-25T22:29:14+02:00
Stats  : +14/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/coturn/c/a372ded5cbf376f993305b8966c79269bca90455?branch=main

Log:
Enable prometheus support (thanks to Ricardo Domingues)

---
diff --git a/coturn.spec b/coturn.spec
index 29e361a..85bcf94 100644
--- a/coturn.spec
+++ b/coturn.spec
@@ -1,6 +1,6 @@
 Name:           coturn
 Version:        4.14.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        TURN/STUN & ICE Server
 # MIT (src/{apps/relay/acme.c,server/ns_turn_khash.h} and BSD-3-Clause (the rest)
 License:        BSD-3-Clause AND MIT
@@ -14,6 +14,7 @@ Patch0:         https://github.com/coturn/coturn/raw/refs/tags/%{version}/patche
 BuildRequires:  gcc
 BuildRequires:  hiredis-devel
 BuildRequires:  libevent-devel >= 2.0.0
+BuildRequires:  libmicrohttpd-devel
 BuildRequires:  libpq-devel
 BuildRequires:  make
 BuildRequires:  mariadb-connector-c-devel
@@ -125,11 +126,11 @@ sed -i \
 
 %install
 %make_install
-mkdir -p %{buildroot}{%{_sysconfdir}/pki/coturn/{public,private},{%{_rundir},%{_localstatedir}/{lib,log}}/%{name}}
-install -Dpm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/coturn.service
-install -Dpm 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/coturn.conf
+mkdir -p %{buildroot}{%{_sysconfdir}/pki/%{name}/{public,private},{%{_rundir},%{_localstatedir}/{lib,log}}/%{name}}
+install -Dpm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
+install -Dpm 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
 install -Dpm 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
-install -Dpm 0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/coturn.conf
+install -Dpm 0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/%{name}.conf
 sed -i \
     -e "s|^syslog$|#syslog|g" \
     -e "s|^#*log-file=.*|log-file=/var/log/coturn/turnserver.log|g" \
@@ -143,14 +144,15 @@ mv -f %{buildroot}%{_sysconfdir}/%{name}/turnserver.conf{.default,}
 # Remove generated SQLite database, certificate and key
 rm -f %{buildroot}%{_localstatedir}/lib/%{name}/turndb
 rm -f %{buildroot}%{_docdir}/%{name}/etc/{cacert,turn_{client,server}_{cert,pkey}}.pem
-rm -f %{buildroot}%{_docdir}/%{name}/etc/coturn.service
+rm -f %{buildroot}%{_docdir}/%{name}/etc/%{name}.service
 
 %check
 make test
 
-# Check if turnserver is really linked against MariaDB, PostgreSQL and systemd,
-# because ./configure unfortunately has no proper failure mechanism...
+# Check if turnserver is really linked against libmicrohttpd, MariaDB, PostgreSQL and
+# systemd, because ./configure unfortunately has no proper failure mechanism...
 ldd %{buildroot}%{_bindir}/turnserver | grep -q libmariadb.so
+ldd %{buildroot}%{_bindir}/turnserver | grep -q libmicrohttpd.so
 ldd %{buildroot}%{_bindir}/turnserver | grep -q libpq.so
 ldd %{buildroot}%{_bindir}/turnserver | grep -q libsystemd.so
 
@@ -211,8 +213,7 @@ ldd %{buildroot}%{_bindir}/turnserver | grep -q libsystemd.so
 %{_bindir}/turnutils_oauth
 %{_bindir}/turnutils_natdiscovery
 %doc %{_docdir}/%{name}/README.turnutils
-%{_mandir}/man1/turnutils.1.*
-%{_mandir}/man1/turnutils_*.1.*
+%{_mandir}/man1/turnutils*.1.*
 
 %files client-libs
 %license LICENSE
@@ -226,6 +227,9 @@ ldd %{buildroot}%{_bindir}/turnserver | grep -q libsystemd.so
 %{_includedir}/turn/client/*
 
 %changelog
+* Thu Jun 25 2026 Robert Scheck <robert@fedoraproject.org> - 4.14.0-2
+- Enable prometheus support (thanks to Ricardo Domingues)
+
 * Tue Jun 23 2026 Robert Scheck <robert@fedoraproject.org> - 4.14.0-1
 - Upgrade to 4.14.0 (#2491257)
 

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

only message in thread, other threads:[~2026-06-25 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 20:29 [rpms/coturn] main: Enable prometheus support (thanks to Ricardo Domingues) Robert Scheck

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