diff --git a/.gitignore b/.gitignore index 47902a5..3629608 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/synce4l-0.9.0.tar.gz +/synce4l-0.9.1.tar.gz diff --git a/sources b/sources index de02fa3..7bf8a56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (synce4l-0.9.0.tar.gz) = 24e48502576c3f3fe96b87320519436942084d0a3da0f0bf22681fa9bc8ad0b45248786ac62d02747891babf6e9b269666549f6c9de1b272f32dedcd3a0de15f +SHA512 (synce4l-0.9.1.tar.gz) = c423589425c4a43542a1e0e64849120be42535a99c75b5f783fe1ab94cca384659c36c911a88c2eb9379a2123d4689759c4ba49b068a9d186c295e120e2cb826 diff --git a/synce4l-gcc-warn.patch b/synce4l-gcc-warn.patch deleted file mode 100644 index 0dba542..0000000 --- a/synce4l-gcc-warn.patch +++ /dev/null @@ -1,31 +0,0 @@ -commit 40375f3babd5a52e0e9d5f2abe4a9332505e702d -Author: Miroslav Lichvar -Date: Mon Jun 19 11:57:18 2023 +0200 - - Avoid -Wmaybe-uninitialized warning - - This avoids the following false positive from gcc: - - config.c:352:28: error: 'df' may be used uninitialized [-Werror=maybe-uninitialized] - 352 | dst->val.d = df; - | ^ - config.c: In function 'config_read': - config.c:286:16: note: 'df' was declared here - 286 | double df; - | ^ - - Signed-off-by: Miroslav Lichvar - -diff --git a/config.c b/config.c -index 946e508..26f3c82 100644 ---- a/config.c -+++ b/config.c -@@ -283,7 +283,7 @@ static enum parser_result parse_item(struct config *cfg, - enum parser_result r; - struct config_item *cgi, *dst; - struct config_enum *cte; -- double df; -+ double df = 0.0; - int val; - - r = parse_fault_interval(cfg, section, option, value); diff --git a/synce4l.spec b/synce4l.spec index 4b153e4..dd83ee8 100644 --- a/synce4l.spec +++ b/synce4l.spec @@ -1,5 +1,5 @@ Name: synce4l -Version: 0.9.0 +Version: 0.9.1 Release: 1%{?dist} Summary: SyncE implementation for Linux @@ -8,7 +8,6 @@ URL: https://github.com/intel/synce4l Source0: https://github.com/intel/synce4l/archive/%{version}/synce4l-%{version}.tar.gz Source1: synce4l.service Source2: synce4l.conf -Patch1: synce4l-gcc-warn.patch BuildRequires: gcc make systemd @@ -23,8 +22,6 @@ supported hardware by processing Ethernet Synchronization Messaging Channel %prep %autosetup -# Fix building outside of git repository -sed -i 's|\(^VERSION := \).*|\1%{version}|' Makefile %build %{make_build} \