@ -1,9 +1,9 @@
Name: mosquitto
Name: mosquitto
Version: 1.6.1 2
Version: 2.0. 2
Release: 5 %{?dist}
Release: 1 %{?dist}
Summary: Open Source MQTT v3.1/v3.1.1 Broker
Summary: Open Source MQTT v3.1/v3.1.1 Broker
License: BSD
License: EPL-2.0
URL: http://mosquitto.org/
URL: http://mosquitto.org/
Source0: http://mosquitto.org/files/source/%{name}-%{version}.tar.gz
Source0: http://mosquitto.org/files/source/%{name}-%{version}.tar.gz
@ -13,6 +13,7 @@ BuildRequires: libuuid-devel
BuildRequires: libwebsockets-devel
BuildRequires: libwebsockets-devel
BuildRequires: openssl-devel
BuildRequires: openssl-devel
BuildRequires: systemd-devel
BuildRequires: systemd-devel
BuildRequires: cjson-devel
%if 0%{?rhel} == 7
%if 0%{?rhel} == 7
BuildRequires: tcp_wrappers-libs
BuildRequires: tcp_wrappers-libs
%endif
%endif
@ -37,7 +38,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Development files for %{name}
Summary: Development files for %{name}
%description devel
%description devel
Development headers and libraries for %{name}
Development headers and libraries for %{name}.
%prep
%prep
%autosetup -p1
%autosetup -p1
@ -64,6 +65,7 @@ export LIB_SUFFIX=64
mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_unitdir}
install -p -m 0644 service/systemd/%{name}.service.notify %{buildroot}%{_unitdir}/%{name}.service
install -p -m 0644 service/systemd/%{name}.service.notify %{buildroot}%{_unitdir}/%{name}.service
mv %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf.example %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
mv %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf.example %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
mv %{buildroot}/usr/lib/*.so %{buildroot}%{_libdir}/
%check
%check
#make test
#make test
@ -88,7 +90,7 @@ exit 0
%files
%files
%license LICENSE.txt
%license LICENSE.txt
%doc ChangeLog.txt CONTRIBUTING.md readme .md
%doc ChangeLog.txt CONTRIBUTING.md README .md
%{_bindir}/*
%{_bindir}/*
%{_sbindir}/*
%{_sbindir}/*
%{_libdir}/*.so.*
%{_libdir}/*.so.*
@ -108,6 +110,13 @@ exit 0
%{_mandir}/man3/*.3.*
%{_mandir}/man3/*.3.*
%changelog
%changelog
* Wed Dec 16 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.2-1
- Update to new upstream release 2.0.2
* Fri Dec 04 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.0-1
- Update license
- Update to new upstream version 2.0.0
* Wed Dec 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.12-5
* Wed Dec 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.12-5
- Rebuilt
- Rebuilt