From 0a539cbc543b311447f5f3cb048cd383c37734c4 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Fri, 17 May 2024 13:15:54 +0200 Subject: [PATCH] Release 0.0.6 --- distribution/dnsconfd-config.8 | 2 +- distribution/dnsconfd-reload.8 | 2 +- distribution/dnsconfd-status.8 | 2 +- distribution/dnsconfd.8 | 2 +- distribution/dnsconfd.spec | 5 ++++- dnsconfd/fsm/dnsconfd_context.py | 6 +++--- setup.py | 2 +- tests/build_package.sh | 10 +++++----- 8 files changed, 17 insertions(+), 14 deletions(-) diff --git a/distribution/dnsconfd-config.8 b/distribution/dnsconfd-config.8 index 50afd30..41b511a 100644 --- a/distribution/dnsconfd-config.8 +++ b/distribution/dnsconfd-config.8 @@ -1,4 +1,4 @@ -.TH "dnsconfd-config" "8" "10 Oct 2023" "dnsconfd-0.0.5" "" +.TH "dnsconfd-config" "8" "10 Oct 2023" "dnsconfd-0.0.6" "" .SH NAME diff --git a/distribution/dnsconfd-reload.8 b/distribution/dnsconfd-reload.8 index 0d82574..78d1a55 100644 --- a/distribution/dnsconfd-reload.8 +++ b/distribution/dnsconfd-reload.8 @@ -1,4 +1,4 @@ -.TH "dnsconfd-reload" "8" "10 Oct 2023" "dnsconfd-0.0.5" "" +.TH "dnsconfd-reload" "8" "10 Oct 2023" "dnsconfd-0.0.6" "" .SH NAME diff --git a/distribution/dnsconfd-status.8 b/distribution/dnsconfd-status.8 index f2bdb70..105f17e 100644 --- a/distribution/dnsconfd-status.8 +++ b/distribution/dnsconfd-status.8 @@ -1,4 +1,4 @@ -.TH "dnsconfd-status" "8" "10 Oct 2023" "dnsconfd-0.0.5" "" +.TH "dnsconfd-status" "8" "10 Oct 2023" "dnsconfd-0.0.6" "" .SH NAME diff --git a/distribution/dnsconfd.8 b/distribution/dnsconfd.8 index 211ede6..fa3a729 100644 --- a/distribution/dnsconfd.8 +++ b/distribution/dnsconfd.8 @@ -1,4 +1,4 @@ -.TH "dnsconfd" "8" "10 Oct 2023" "dnsconfd-0.0.5" "" +.TH "dnsconfd" "8" "10 Oct 2023" "dnsconfd-0.0.6" "" .SH NAME diff --git a/distribution/dnsconfd.spec b/distribution/dnsconfd.spec index 888e400..e402d6a 100644 --- a/distribution/dnsconfd.spec +++ b/distribution/dnsconfd.spec @@ -2,7 +2,7 @@ %global selinuxtype targeted Name: dnsconfd -Version: 0.0.5 +Version: 0.0.6 Release: 1%{?dist} Summary: Local DNS cache configuration daemon License: MIT @@ -168,6 +168,9 @@ fi %{_tmpfilesdir}/dnsconfd-unbound.conf %changelog +* Fri May 17 2024 Tomas Korbar - 0.0.6-1 +- Release 0.0.6 + * Fri May 03 2024 Tomas Korbar - 0.0.5-1 - Release 0.0.5 diff --git a/dnsconfd/fsm/dnsconfd_context.py b/dnsconfd/fsm/dnsconfd_context.py index 81c3254..4ccf48c 100644 --- a/dnsconfd/fsm/dnsconfd_context.py +++ b/dnsconfd/fsm/dnsconfd_context.py @@ -47,9 +47,9 @@ def __init__(self, config: dict, main_loop: object): self.transition: dict[ ContextState, dict[str, - tuple[ContextState, - Callable[[DnsconfdContext, ContextEvent], - ContextEvent]]]] = { + tuple[ContextState, + Callable[[DnsconfdContext, ContextEvent], + ContextEvent]]]] = { ContextState.STARTING: { "KICKOFF": (ContextState.CONFIGURING_DNS_MANAGER, self._starting_kickoff_transition), diff --git a/setup.py b/setup.py index 959deca..c010ebf 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='dnsconfd', - version='0.0.5', + version='0.0.6', install_requires=[ 'dbus-python', 'pyyaml' diff --git a/tests/build_package.sh b/tests/build_package.sh index 6dc3eac..d1a09e6 100755 --- a/tests/build_package.sh +++ b/tests/build_package.sh @@ -3,14 +3,14 @@ set -e tempdir=$(mktemp -d) -mkdir "$tempdir"/dnsconfd-0.0.5 -cp -r ./* "$tempdir"/dnsconfd-0.0.5 +mkdir "$tempdir"/dnsconfd-0.0.6 +cp -r ./* "$tempdir"/dnsconfd-0.0.6 pushd "$tempdir" -tar -czvf "$tempdir"/dnsconfd-0.0.5.tar.gz dnsconfd-0.0.5 +tar -czvf "$tempdir"/dnsconfd-0.0.6.tar.gz dnsconfd-0.0.6 popd -mv "$tempdir"/dnsconfd-0.0.5.tar.gz ./distribution +mv "$tempdir"/dnsconfd-0.0.6.tar.gz ./distribution pushd distribution fedpkg --release=f39 mockbuild -mv ./results_dnsconfd/0.0.5/1.fc39/*.noarch.rpm ../tests +mv ./results_dnsconfd/0.0.6/1.fc39/*.noarch.rpm ../tests popd rm -rf "$tempdir"