|
|
|
@ -1,9 +1,12 @@
|
|
|
|
|
%global systemctl_bin /usr/bin/systemctl
|
|
|
|
|
|
|
|
|
|
Name: numad
|
|
|
|
|
Version: 0.5
|
|
|
|
|
Release: 46.20150602git%{?dist}
|
|
|
|
|
Release: 27.20150602git%{?dist}
|
|
|
|
|
Summary: NUMA user daemon
|
|
|
|
|
|
|
|
|
|
License: LGPL-2.1-only
|
|
|
|
|
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:
|
|
|
|
@ -11,13 +14,16 @@ URL: https://pagure.io/numad
|
|
|
|
|
# tar --exclude-vcs -cJf numad-0.5git.tar.xz numad-0.5git/
|
|
|
|
|
Source0: %{name}-%{version}git.tar.xz
|
|
|
|
|
|
|
|
|
|
Patch0: 0000-remove-conf.patch
|
|
|
|
|
Patch1: 0001-numad_log-fix-buffer-overflow.patch
|
|
|
|
|
Patch2: 0002-recognize--m-option-correctly.patch
|
|
|
|
|
# RHEL-16506
|
|
|
|
|
# Upstream commit: https://pagure.io/numad/c/cf6c2c029edc9c288122bcd603a72eb7f6d042d2
|
|
|
|
|
Patch1: numad-0.5git-m-option.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
Requires: systemd-units
|
|
|
|
|
Requires(post): systemd-units
|
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
|
|
|
|
|
|
ExcludeArch: s390 %{arm}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Numad, a daemon for NUMA (Non-Uniform Memory Architecture) systems,
|
|
|
|
@ -28,18 +34,22 @@ and memory to minimize memory latency and thus provide optimum performance.
|
|
|
|
|
%autosetup -n %{name}-%{version}git
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build CFLAGS="$CFLAGS"
|
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="$RPM_LD_FLAGS -lpthread -lrt -lm"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -D -p -m 644 {,%{buildroot}%{_unitdir}/}numad.service
|
|
|
|
|
install -D -p -m 644 {,%{buildroot}%{_sysconfdir}/logrotate.d/%{name}/}numad.logrotate
|
|
|
|
|
%make_install prefix=%{buildroot}/usr
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/numad
|
|
|
|
|
%{_bindir}/numad
|
|
|
|
|
%{_mandir}/man8/numad.8.*
|
|
|
|
|
%{_unitdir}/numad.service
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/numad
|
|
|
|
|
%doc %{_mandir}/man8/numad.8.gz
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%systemd_post numad.service
|
|
|
|
@ -51,76 +61,11 @@ install -D -p -m 644 {,%{buildroot}%{_sysconfdir}/logrotate.d/%{name}/}numad.log
|
|
|
|
|
%systemd_postun numad.service
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.5-46.20150602git
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.5-45.20150602git
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-44.20150602git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-43.20150602git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 21 2023 Lukáš Zaoral <lzaoral@redhat.com> - 0.5-42.20150602git
|
|
|
|
|
- recognize the -m option
|
|
|
|
|
- modernize the specfile
|
|
|
|
|
- use recommended systemd macros
|
|
|
|
|
- fix manual pages installation
|
|
|
|
|
- sort file list and BuildRequires
|
|
|
|
|
- use modern make macros
|
|
|
|
|
- simplify %%install section
|
|
|
|
|
|
|
|
|
|
* Wed Sep 06 2023 Lukas Nykryn <lnykryn@redhat.com> - 0.5-41.20150602git
|
|
|
|
|
- fix buffer overflow
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-40.20150602git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 13 2023 Lukáš Zaoral <lzaoral@redhat.com> - 0.5-39.20150602git
|
|
|
|
|
- migrate to SPDX license format
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-38.20150602git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-37.20150602git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-36.20150602git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-35.20150602git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|