From e50ba1dfc7eeb751e4bf225bb8dcefa480b72ece Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Mar 26 2019 08:24:40 +0000 Subject: Remove all mentions of the default config file, which is not used anyway --- diff --git a/0000-remove-conf.patch b/0000-remove-conf.patch new file mode 100644 index 0000000..670f2f3 --- /dev/null +++ b/0000-remove-conf.patch @@ -0,0 +1,22 @@ +diff -rup numad-0.5git/numad.8 numad-0.5git-new/numad.8 +--- numad-0.5git/numad.8 2015-06-02 13:16:31.000000000 +0200 ++++ numad-0.5git-new/numad.8 2019-03-26 09:20:45.887766101 +0100 +@@ -98,8 +98,7 @@ Sets the time interval that numad waits + <\fImin_interval\fP> is 5 seconds. Setting a <\fImax_interval\fP> of zero will + cause the daemon to exit. (This is the normal mechanism to terminate the + daemon.) A bigger <\fImax_interval\fP> will decrease numad overhead but also +-decrease responsiveness to changing loads. The default numad max_interval can +-be changed in the numad.conf file. ++decrease responsiveness to changing loads. + .TP + \fB\-K\fR <\fI0|1\fP> + This option controls whether numad keeps interleaved memory spread across NUMA +@@ -210,8 +209,6 @@ numad can manage. + .LP + \fI/usr/bin/numad\fP + .br +-\fI/etc/numad.conf\fP +-.br + \fI/var/log/numad.log\fP + .br + \fI/var/run/numad.pid\fP diff --git a/numad.spec b/numad.spec index 2bdd562..d36aa81 100644 --- a/numad.spec +++ b/numad.spec @@ -2,7 +2,7 @@ Name: numad Version: 0.5 -Release: 28.20150602git%{?dist} +Release: 29.20150602git%{?dist} Summary: NUMA user daemon License: LGPLv2 @@ -12,6 +12,7 @@ URL: https://pagure.io/numad # git clone https://pagure.io/numad.git numad-0.5git # tar --exclude-vcs -cJf numad-0.5git.tar.xz numad-0.5git/ Source0: %{name}-%{version}git.tar.xz +Patch0: 0000-remove-conf.patch Requires: systemd-units Requires(post): systemd-units @@ -28,6 +29,7 @@ and memory to minimize memory latency and thus provide optimum performance. %prep %setup -q -n %{name}-%{version}git +%patch0 -p1 %build make CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="$RPM_LD_FLAGS -lpthread -lrt -lm" @@ -57,6 +59,9 @@ make install prefix=%{buildroot}/usr %systemd_postun numad.service %changelog +* Tue Mar 26 2019 Jan Synáček - 0.5-29.20150602git +- Remove all mentions of the default config file, which is not used anyway + * Fri Feb 01 2019 Fedora Release Engineering - 0.5-28.20150602git - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild