Update to 2.1 (BZ#1691958)

This commit is contained in:
Dridi Boukelmoune 2019-03-23 12:14:14 +01:00
parent 9128f532de
commit d82ceb55c8
3 changed files with 37 additions and 23 deletions

5
.gitignore vendored
View File

@ -1,4 +1 @@
/numatop_linux_1.0.1.tar.gz numatop*.tar.?z
/numatop_linux_1.0.2.tar.gz
/numatop_linux_1.0.3.tar.gz
/numatop_linux_1.0.4.tar.gz

View File

@ -1,17 +1,22 @@
# https://github.com/intel/numatop/pull/53
%undefine _ld_as_needed
Name: numatop Name: numatop
Version: 1.0.4 Version: 2.1
Release: 9%{?dist} Release: 1%{?dist}
Summary: Memory access locality characterization and analysis Summary: Memory access locality characterization and analysis
License: BSD License: BSD
URL: https://01.org/numatop URL: https://01.org/numatop
Source: https://01.org/sites/default/files/%{name}_linux_%{version}.tar.gz Source: https://github.com/intel/%{name}/releases/download/v%{version}/%{name}-v%{version}.tar.xz
BuildRequires: check-devel
BuildRequires: gcc BuildRequires: gcc
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: numactl-devel BuildRequires: numactl-devel
# This only works for Intel CPUs # This only works for Intel and Power CPUs
ExclusiveArch: %{ix86} x86_64 ExclusiveArch: x86_64 ppc64le
%description %description
@ -20,31 +25,43 @@ analysis of processes and threads running on a NUMA system. It helps the user
characterize the NUMA behavior of processes and threads and identify where the characterize the NUMA behavior of processes and threads and identify where the
NUMA-related performance bottlenecks reside. NUMA-related performance bottlenecks reside.
NumaTOP supports the Intel Xeon processors. NumaTOP supports the Intel Xeon processors and PowerPC processors.
%prep %prep
%setup -q -n %{name} %setup -q -n %{name}-v%{version}
%build %build
%make_build CFLAGS="%{optflags}" %configure
%make_build
%install %install
mkdir -p %{buildroot}%{_bindir} %make_install
mkdir -p %{buildroot}%{_mandir}/man8
make install PREFIXDIR=%{buildroot}%{_prefix} MANDIR=%{buildroot}%{_mandir}/man8
%check
%make_build check
%files %files
%doc AUTHORS README %doc AUTHORS
%license COPYING %license COPYING
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man8/%{name}.8* %{_mandir}/man8/%{name}.8*
%changelog %changelog
* Sat Mar 23 2019 Dridi Boukelmoune <dridi@fedoraproject.org>- 2.1-1
- Update to 2.1
- Upstream moved to github
- Upstream switched to autotools
- Disable --as-needed until it's patched upstream
- Drop defunct 32bit x86 support
- Add ppc64le support
- Run the new test suite
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9 * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
@ -88,28 +105,28 @@ make install PREFIXDIR=%{buildroot}%{_prefix} MANDIR=%{buildroot}%{_mandir}/man8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Mon Jun 30 2014 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 1.0.2-3 * Mon Jun 30 2014 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.0.2-3
- Backport and rebase 1.0.1 patch - Backport and rebase 1.0.1 patch
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Mar 16 2014 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 1.0.2-1 * Sun Mar 16 2014 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.0.2-1
- Bump version to 1.0.2 - Bump version to 1.0.2
- Remove upstreamed patch - Remove upstreamed patch
* Fri Sep 20 2013 Dan Horák <dan[at]danny.cz> - 1.0.1-5 * Fri Sep 20 2013 Dan Horák <dan[at]danny.cz> - 1.0.1-5
- no numa on s390(x) - no numa on s390(x)
* Fri Sep 13 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 1.0.1-4 * Fri Sep 13 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.0.1-4
- Patch for the 32bit hardened build. - Patch for the 32bit hardened build.
* Sun Aug 25 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 1.0.1-3 * Sun Aug 25 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.0.1-3
- Hardened build. - Hardened build.
- Automatic requires. - Automatic requires.
* Fri Aug 02 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 1.0.1-2 * Fri Aug 02 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.0.1-2
- Fix the license tag. - Fix the license tag.
* Thu Aug 01 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 1.0.1-1 * Thu Aug 01 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.0.1-1
- Initial spec. - Initial spec.

View File

@ -1 +1 @@
fb224355c8085f19138cdc27d40506b3 numatop_linux_1.0.4.tar.gz SHA512 (numatop-v2.1.tar.xz) = ed0405351ee08a4ad9e207efef4c55402ce8b5c315dddfcdd6455c9faf00ab41f3cae797da2e72ae851a1166f0fc81b3915ac5b97780b7190667e5564a6fbd86