Remove all mentions of the default config file, which is not used anyway

This commit is contained in:
Jan Synacek 2019-03-26 09:24:40 +01:00
parent 5d84ea5921
commit e50ba1dfc7
2 changed files with 28 additions and 1 deletions

22
0000-remove-conf.patch Normal file
View File

@ -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

View File

@ -2,7 +2,7 @@
Name: numad Name: numad
Version: 0.5 Version: 0.5
Release: 28.20150602git%{?dist} Release: 29.20150602git%{?dist}
Summary: NUMA user daemon Summary: NUMA user daemon
License: LGPLv2 License: LGPLv2
@ -12,6 +12,7 @@ URL: https://pagure.io/numad
# git clone https://pagure.io/numad.git numad-0.5git # git clone https://pagure.io/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: 0000-remove-conf.patch
Requires: systemd-units Requires: systemd-units
Requires(post): systemd-units Requires(post): systemd-units
@ -28,6 +29,7 @@ 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 -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"
@ -57,6 +59,9 @@ make install prefix=%{buildroot}/usr
%systemd_postun numad.service %systemd_postun numad.service
%changelog %changelog
* Tue Mar 26 2019 Jan Synáček <jsynacek@redhat.com> - 0.5-29.20150602git
- Remove all mentions of the default config file, which is not used anyway
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-28.20150602git * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-28.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild