Catch up with packaging guidelines

This commit is contained in:
Dridi Boukelmoune 2017-02-13 23:25:49 +01:00
parent 4c33815e05
commit b9d495749f

View File

@ -1,14 +1,13 @@
%global _hardened_build 1
Name: numatop
Version: 1.0.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Memory access locality characterization and analysis
License: BSD
URL: https://01.org/numatop
Source0: https://01.org/sites/default/files/%{name}_linux_%{version}.tar.gz
BuildRequires: numactl-devel ncurses-devel
BuildRequires: ncurses-devel
BuildRequires: numactl-devel
# This only works for Intel CPUs
ExclusiveArch: %{ix86} x86_64
@ -28,7 +27,7 @@ NumaTOP supports the Intel Xeon processors.
%build
make CFLAGS="%{optflags}" %{?_smp_mflags}
%make_build CFLAGS="%{optflags}"
%install
@ -38,12 +37,16 @@ make install PREFIXDIR=%{buildroot}%{_prefix} MANDIR=%{buildroot}%{_mandir}/man8
%files
%doc AUTHORS COPYING README
%doc AUTHORS README
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man8/%{name}.8*
%changelog
* Mon Feb 13 2017 Dridi Boukelmoune <dridi@fedoraproject.org>- 1.0.4-3
- Catch up with packaging guidelines
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild