Add Makefile patch

This commit is contained in:
Jan Synacek 2012-10-16 09:40:01 +02:00
parent 57ecb881d5
commit df1912a451
2 changed files with 14 additions and 0 deletions

View File

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

View File

@ -13,6 +13,7 @@ URL: http://git.fedorahosted.org/git/?p=numad.git
# git clone git://git.fedorahosted.org/numad.git numad-0.5git
# tar cJf numad-0.5git.tar.xz numad-0.5git/
Source0: %{name}-%{version}git.tar.xz
Patch0: numad-0.5git-pthread.patch
Requires: systemd-units, initscripts
Requires(post): systemd-units, initscripts
@ -28,6 +29,7 @@ and memory to minimize memory latency and thus provide optimum performance.
%prep
%setup -q -n %{name}-%{version}git
%patch0 -p0
%build
make CFLAGS="-std=gnu99 -g" LDFLAGS="-lpthread"
@ -59,6 +61,7 @@ make install prefix=%{buildroot}/usr
%changelog
* Tue Oct 16 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-7.20121015git
- Update to 20121015
- Add Makefile patch
* Wed Aug 22 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-6.20120522git
- add systemd-rpm macros