diff --git a/0001-Fix-build-with-Werror-format-security.patch b/0001-Fix-build-with-Werror-format-security.patch deleted file mode 100644 index 75920c2..0000000 --- a/0001-Fix-build-with-Werror-format-security.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 6ab732334bc765d4b5883ddde0e9891b4813d136 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ville=20Skytt=C3=A4?= -Date: Mon, 20 Jan 2014 22:25:58 +0200 -Subject: [PATCH 1/2] Fix build with -Werror=format-security - ---- - numad.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/numad.c b/numad.c -index d266f3d..1075e2c 100644 ---- a/numad.c -+++ b/numad.c -@@ -154,7 +154,7 @@ void numad_log(int level, const char *fmt, ...) { - } - char buf[BUF_SIZE]; - time_t ts = time(NULL); -- sprintf(buf, ctime(&ts)); -+ sprintf(buf, "%s", ctime(&ts)); - char *p = &buf[strlen(buf) - 1]; - *p++ = ':'; - *p++ = ' '; --- -1.8.3.1 - diff --git a/numad.spec b/numad.spec index 33f7764..3285750 100644 --- a/numad.spec +++ b/numad.spec @@ -2,7 +2,7 @@ Name: numad Version: 0.5 -Release: 18.20140620git%{?dist} +Release: 19.20150602git%{?dist} Summary: NUMA user daemon License: LGPLv2 @@ -13,7 +13,6 @@ URL: http://git.fedorahosted.org/git/?p=numad.git # git clone git://git.fedorahosted.org/numad.git numad-0.5git # tar --exclude-vcs -cJf numad-0.5git.tar.xz numad-0.5git/ Source0: %{name}-%{version}git.tar.xz -Patch1: 0001-Fix-build-with-Werror-format-security.patch Requires: systemd-units, initscripts Requires(post): systemd-units, initscripts @@ -29,7 +28,6 @@ and memory to minimize memory latency and thus provide optimum performance. %prep %setup -q -n %{name}-%{version}git -%patch1 -p1 %build make CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="$RPM_LD_FLAGS -lpthread -lrt -lm" @@ -59,6 +57,9 @@ make install prefix=%{buildroot}/usr %systemd_postun numad.service %changelog +* Tue Jun 2 2015 Jan Synáček - 0.5-19.20150602git +- Update to 20150602 + * Sun Aug 17 2014 Fedora Release Engineering - 0.5-18.20140620git - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index 6f29513..c095ad4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0ca3cc0a34b891623f1dc9ae36ee58f9 numad-0.5git.tar.xz +033639e6d3e8df2fadc7a6606a0929c8 numad-0.5git.tar.xz