|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: mosquitto
|
|
|
|
Name: mosquitto
|
|
|
|
Version: 2.0.18
|
|
|
|
Version: 2.0.18
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Open Source MQTT v5/v3.1.x Broker
|
|
|
|
Summary: Open Source MQTT v5/v3.1.x Broker
|
|
|
|
|
|
|
|
|
|
|
|
License: EPL-2.0
|
|
|
|
License: EPL-2.0
|
|
|
@ -16,10 +16,8 @@ BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libwebsockets-devel
|
|
|
|
BuildRequires: libwebsockets-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
|
|
|
BuildRequires: openssl-devel-engine
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
|
|
|
BuildRequires: tcp_wrappers-libs
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?with_tests}
|
|
|
|
%if 0%{?with_tests}
|
|
|
|
BuildRequires: CUnit-devel
|
|
|
|
BuildRequires: CUnit-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -54,12 +52,7 @@ sed -i "s|prefix?=/usr/local|prefix?=/usr|" config.mk
|
|
|
|
sed -i "s|(INSTALL) -s|(INSTALL)|g" lib/Makefile src/Makefile client/Makefile
|
|
|
|
sed -i "s|(INSTALL) -s|(INSTALL)|g" lib/Makefile src/Makefile client/Makefile
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
export CFLAGS="%{optflags}" LDFLAGS="%{optflags} %{__global_ldflags} -Wl,--as-needed"
|
|
|
|
export CFLAGS="%{optflags} -std=gnu99"
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
export LDFLAGS="%{optflags} %{__global_ldflags} -Wl,--as-needed"
|
|
|
|
|
|
|
|
make all %{?_smp_mflags} WITH_WEBSOCKETS=yes WITH_SYSTEMD=yes WITH_SRV=yes
|
|
|
|
make all %{?_smp_mflags} WITH_WEBSOCKETS=yes WITH_SYSTEMD=yes WITH_SRV=yes
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -117,6 +110,9 @@ exit 0
|
|
|
|
%{_mandir}/man3/libmosquitto.3.*
|
|
|
|
%{_mandir}/man3/libmosquitto.3.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Sep 28 2024 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.18-4
|
|
|
|
|
|
|
|
- Fix FTBFS (closes rhbz#2300978)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.18-4
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.18-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|