Update to 20140620

This commit is contained in:
Jan Synacek 2014-06-23 09:15:39 +02:00
parent 2f59920cbd
commit 764f10f2c5
4 changed files with 7 additions and 23 deletions

View File

@ -8,10 +8,10 @@ Subject: [PATCH 1/2] Fix build with -Werror=format-security
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/numad.c b/numad.c diff --git a/numad.c b/numad.c
index 2d8ae95..3e2816b 100644 index d266f3d..1075e2c 100644
--- a/numad.c --- a/numad.c
+++ b/numad.c +++ b/numad.c
@@ -141,7 +141,7 @@ void numad_log(int level, const char *fmt, ...) { @@ -154,7 +154,7 @@ void numad_log(int level, const char *fmt, ...) {
} }
char buf[BUF_SIZE]; char buf[BUF_SIZE];
time_t ts = time(NULL); time_t ts = time(NULL);

View File

@ -1,17 +0,0 @@
Remove linked libraries from Makefile. They break rebuilds from srpms on some
architectures. The linker flags are supplied from the spec.
Author: Jan Synacek <jsynacek@redhat.com>
RH-Bugzilla: #825153
--- Makefile.orig 2012-09-11 08:29:18.965821127 +0200
+++ Makefile 2012-09-11 08:29:29.391803358 +0200
@@ -31,7 +31,7 @@
all: numad
-numad: numad.o -lpthread -lrt -lm
+numad: numad.o
AR ?= ar
RANLIB ?= ranlib

View File

@ -2,7 +2,7 @@
Name: numad Name: numad
Version: 0.5 Version: 0.5
Release: 16.20140225git%{?dist} Release: 17.20140620git%{?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
Patch0: numad-0.5git-pthread.patch
Patch1: 0001-Fix-build-with-Werror-format-security.patch Patch1: 0001-Fix-build-with-Werror-format-security.patch
Requires: systemd-units, initscripts Requires: systemd-units, initscripts
@ -30,7 +29,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
%patch0 -p0
%patch1 -p1 %patch1 -p1
%build %build
@ -61,6 +59,9 @@ make install prefix=%{buildroot}/usr
%systemd_postun numad.service %systemd_postun numad.service
%changelog %changelog
* Mon Jun 23 2014 Jan Synáček <jsynacek@redhat.com> - 0.5-17.20140620git
- Update to 20140620
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-16.20140225git * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-16.20140225git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -1 +1 @@
9d1b195a4776dc04b21eeaea4a7a942f numad-0.5git.tar.xz 0ca3cc0a34b891623f1dc9ae36ee58f9 numad-0.5git.tar.xz