%global pypi_name mqtt-randompub Name: %{pypi_name} Version: 0.2.2 Release: 14%{?dist} Summary: Tool for generating MQTT messages on various topics License: MIT URL: https://github.com/fabaff/mqtt-randompub/ Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz # https://github.com/fabaff/mqtt-randompub/pull/7 Patch1: 0001-Add-basic-support-for-paho.mqtt-v2.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description For testing application and tools which are handling MQTT messages it's often needed to send continuously messages on random topics to a broker. mqtt-randompub contains options to send a single message, a specific count of messages, or a constant flow of messages till the tool is terminated. Configuration files can be used to store lists of topics to create repeatable test scenarios. %prep %autosetup -n %{pypi_name}-%{version} -p1 rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files %license LICENSE %doc AUTHORS ChangeLog README.rst %{_bindir}/mqtt-randompub %{python3_sitelib}/mqtt_randompub/ %{python3_sitelib}/mqtt_randompub-%{version}-py%{python3_version}.egg-info/ %changelog * Mon Nov 04 2024 Peter Robinson - 0.2.2-14 - Add patch to support paho-mqtt v2+ * Thu Jul 18 2024 Fedora Release Engineering - 0.2.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.2.2-12 - Rebuilt for Python 3.13 * Thu Jan 25 2024 Fedora Release Engineering - 0.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.2.2-8 - Rebuilt for Python 3.12 * Thu Jan 19 2023 Fedora Release Engineering - 0.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.2-5 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 0.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.2-2 - Rebuilt for Python 3.10 * Wed Feb 03 2021 Fabian Affolter - 0.2.2-1 - Update to latest upstream release 0.2.2 * Tue Jan 26 2021 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Sep 25 2020 Fabian Affolter - 0.2.1-1 - Initial package for Fedora