diff --git a/0001-fix-compilation-warnings-on-newer-gcc.patch b/0001-fix-compilation-warnings-on-newer-gcc.patch deleted file mode 100644 index 0aa5ea6..0000000 --- a/0001-fix-compilation-warnings-on-newer-gcc.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 8e82bd8bec79d066c6263f99d395c87be4086dbc Mon Sep 17 00:00:00 2001 -From: Zhilong Liu -Date: Mon, 27 Nov 2017 11:29:50 +0800 -Subject: [PATCH] fix compilation warnings on newer gcc - -bsc#1067452 -URL: https://bugzilla.suse.com/show_bug.cgi?id=1067452#c4 -Upstream URL: https://github.com/intel/ledmon -Commit ID: e51e1a855df80e34e166984373dce7d765d61d52 - -Signed-off-by: Zhilong Liu ---- - src/Makefile | 2 +- - src/ledctl.c | 1 + - src/smp.c | 1 + - 3 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/Makefile b/src/Makefile -index bb718d5..19a27d0 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -62,7 +62,7 @@ CXFLAGS=-O0 -g - CWFLAGS=-Wall - CFLAGS=$(CXFLAGS) $(CWFLAGS) - --DEFFLAGS=-D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -+DEFFLAGS=-D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE - CPPFLAGS=$(DEFFLAGS) - ALL_CPPFLAGS=$(CPPFLAGS) -I../config - -diff --git a/src/ledctl.c b/src/ledctl.c -index 2d013b4..e060fe2 100644 ---- a/src/ledctl.c -+++ b/src/ledctl.c -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include - - #if _HAVE_DMALLOC_H - #include -diff --git a/src/smp.c b/src/smp.c -index 7912bd0..872c0ca 100644 ---- a/src/smp.c -+++ b/src/smp.c -@@ -31,6 +31,7 @@ - #include - #include - #include -+#include - - #if _HAVE_DMALLOC_H - #include --- -2.15.0 - diff --git a/ledmon.changes b/ledmon.changes index ed6f670..9ee17ad 100644 --- a/ledmon.changes +++ b/ledmon.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Mar 8 04:50:53 UTC 2018 - zlliu@suse.com + +- Update to version 0.90: + * No upstream changelog available + * spec: deprecated ledctl.conf.5.gz and rename ledmon.conf.5.gz + * add compile parameter -std=c99 + +- Drop 0001-fix-compilation-warnings-on-newer-gcc.patch +- bsc#1081125 and fate#322625 + ------------------------------------------------------------------- Wed Dec 20 07:54:36 UTC 2017 - coolo@suse.com diff --git a/ledmon.spec b/ledmon.spec index 65908dd..a821a59 100644 --- a/ledmon.spec +++ b/ledmon.spec @@ -1,7 +1,7 @@ # # spec file for package ledmon # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,13 @@ Name: ledmon -Version: 0.81 +Version: 0.90 Release: 0 Summary: Enclosure LED Utilities License: GPL-2.0 Group: Hardware/Other Url: https://github.com/intel/ledmon/ Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz -Patch0: 0001-fix-compilation-warnings-on-newer-gcc.patch BuildRequires: libsgutils-devel BuildRequires: libudev-devel Provides: sgpio:/sbin/ledmon @@ -38,10 +37,9 @@ solutions. %prep %setup -q -%patch0 -p1 %build -make -j1 CXFLAGS="%{optflags} -lsgutils2" +make -j1 CXFLAGS="%{optflags} -lsgutils2 -std=c99" %install %make_install @@ -51,7 +49,7 @@ make -j1 CXFLAGS="%{optflags} -lsgutils2" %doc README COPYING %{_sbindir}/ledmon %{_sbindir}/ledctl -%{_mandir}/man5/ledctl.conf.5%{ext_man} +%{_mandir}/man5/ledmon.conf.5%{ext_man} %{_mandir}/man8/ledctl.8%{ext_man} %{_mandir}/man8/ledmon.8%{ext_man} diff --git a/v0.81.tar.gz b/v0.81.tar.gz deleted file mode 100644 index e9b5c9e..0000000 --- a/v0.81.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f125947232e1f7649fabafce3c689499448e2c13f25bb3f33440c9d873440f9 -size 61363 diff --git a/v0.90.tar.gz b/v0.90.tar.gz new file mode 100644 index 0000000..3989c18 --- /dev/null +++ b/v0.90.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33f87b54ec343db6336357c30b47d25976aa12a0de62da9be6ec17208ff846d1 +size 65722