Update to 20150602
This commit is contained in:
parent
442f474f26
commit
ebede27675
@ -1,25 +0,0 @@
|
|||||||
From 6ab732334bc765d4b5883ddde0e9891b4813d136 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
|
|
||||||
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
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: numad
|
Name: numad
|
||||||
Version: 0.5
|
Version: 0.5
|
||||||
Release: 18.20140620git%{?dist}
|
Release: 19.20150602git%{?dist}
|
||||||
Summary: NUMA user daemon
|
Summary: NUMA user daemon
|
||||||
|
|
||||||
License: LGPLv2
|
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
|
# git clone git://git.fedorahosted.org/numad.git numad-0.5git
|
||||||
# tar --exclude-vcs -cJf numad-0.5git.tar.xz numad-0.5git/
|
# tar --exclude-vcs -cJf numad-0.5git.tar.xz numad-0.5git/
|
||||||
Source0: %{name}-%{version}git.tar.xz
|
Source0: %{name}-%{version}git.tar.xz
|
||||||
Patch1: 0001-Fix-build-with-Werror-format-security.patch
|
|
||||||
|
|
||||||
Requires: systemd-units, initscripts
|
Requires: systemd-units, initscripts
|
||||||
Requires(post): systemd-units, initscripts
|
Requires(post): systemd-units, initscripts
|
||||||
@ -29,7 +28,6 @@ and memory to minimize memory latency and thus provide optimum performance.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}git
|
%setup -q -n %{name}-%{version}git
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="$RPM_LD_FLAGS -lpthread -lrt -lm"
|
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
|
%systemd_postun numad.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 2 2015 Jan Synáček <jsynacek@redhat.com> - 0.5-19.20150602git
|
||||||
|
- Update to 20150602
|
||||||
|
|
||||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-18.20140620git
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-18.20140620git
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user