Compare commits

...

No commits in common. "imports/c9/numad-0.5-36.20150602git.el9" and "c8" have entirely different histories.

4 changed files with 30 additions and 62 deletions

View File

@ -1 +0,0 @@
22146cf894b1e9bf662ea98f720a565fd759cb3f SOURCES/numad-0.5git.tar.xz

View File

@ -1,22 +0,0 @@
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

@ -0,0 +1,19 @@
commit cf6c2c029edc9c288122bcd603a72eb7f6d042d2
Author: Jan Synacek <jsynacek@redhat.com>
Date: Mon Oct 30 11:37:45 2017 +0100
recognize -m option correctly
diff --git a/numad.c b/numad.c
index 4c85486..0721af4 100644
--- a/numad.c
+++ b/numad.c
@@ -2395,7 +2395,7 @@ int main(int argc, char *argv[]) {
int x_flag = 0;
int tmp_int = 0;
long list_pid = 0;
- while ((opt = getopt(argc, argv, "C:dD:hH:i:K:l:p:r:R:S:t:u:vVw:x:")) != -1) {
+ while ((opt = getopt(argc, argv, "C:dD:hH:i:K:l:m:p:r:R:S:t:u:vVw:x:")) != -1) {
switch (opt) {
case 'C':
C_flag = 1;

View File

@ -2,23 +2,25 @@
Name: numad
Version: 0.5
Release: 36.20150602git%{?dist}
Release: 27.20150602git%{?dist}
Summary: NUMA user daemon
License: LGPLv2
Group: System Environment/Daemons
URL: https://pagure.io/numad
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
# 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
# RHEL-16506
# Upstream commit: https://pagure.io/numad/c/cf6c2c029edc9c288122bcd603a72eb7f6d042d2
Patch1: numad-0.5git-m-option.patch
Requires: systemd-units
Requires(post): systemd-units
Requires(preun): systemd-units
BuildRequires: make
BuildRequires: gcc
BuildRequires: systemd-units
ExcludeArch: s390 %{arm}
@ -29,8 +31,7 @@ that monitors NUMA characteristics and manages placement of processes
and memory to minimize memory latency and thus provide optimum performance.
%prep
%setup -q -n %{name}-%{version}git
%patch0 -p1
%autosetup -n %{name}-%{version}git
%build
make CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="$RPM_LD_FLAGS -lpthread -lrt -lm"
@ -42,7 +43,7 @@ mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_mandir}/man8/
install -p -m 644 numad.service %{buildroot}%{_unitdir}/
install -p -m 644 numad.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
%make_install prefix=%{buildroot}/usr
make install prefix=%{buildroot}/usr
%files
%{_bindir}/numad
@ -60,40 +61,11 @@ install -p -m 644 numad.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
%systemd_postun numad.service
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.5-36.20150602git
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.5-35.20150602git
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-34.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Aug 24 2020 Jan Synáček <jsynacek@redhat.com> - 0.5-33.20150602git
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-32.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-31.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-30.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-27.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Nov 15 2023 Lukáš Zaoral <lzaoral@redhat.com> - 0.5-27.20150602git
- recognize the -m option (RHEL-16506)
* Tue Jun 19 2018 Jan Synáček <jsynacek@redhat.com> - 0.5-26.20150602git
- Remove initscripts from Requires (#1592372)
- Remove initscripts from Requires (#1610280)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-25.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild