Update and comment the Makefile patch

Related: #825153
This commit is contained in:
Jan Synacek 2012-12-11 13:21:55 +01:00
parent 8ac025bd50
commit a621dfe607
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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 @@
@ -5,7 +11,7 @@
all: numad
-numad: numad.o -lpthread -lrt
+numad: numad.o -lrt
+numad: numad.o
AR ?= ar
RANLIB ?= ranlib

View File

@ -2,7 +2,7 @@
Name: numad
Version: 0.5
Release: 8.20121130git%{?dist}
Release: 9.20121130git%{?dist}
Summary: NUMA user daemon
License: LGPLv2
@ -32,7 +32,7 @@ and memory to minimize memory latency and thus provide optimum performance.
%patch0 -p0
%build
make CFLAGS="-std=gnu99 -g" LDFLAGS="-lpthread"
make CFLAGS="-std=gnu99 -g" LDFLAGS="-lpthread -lrt"
%install
mkdir -p %{buildroot}%{_bindir}
@ -59,6 +59,10 @@ make install prefix=%{buildroot}/usr
%systemd_postun numad.service
%changelog
* Tue Dec 11 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-9.20121130git
- Update and comment the Makefile patch
- Related: #825153
* Mon Dec 03 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-8.20121130git
- Update to 20121130
- Update spec: fix command to generate tarball