diff --git a/numactl-2.0.10.tar.gz b/numactl-2.0.10.tar.gz new file mode 100644 index 0000000..c589860 --- /dev/null +++ b/numactl-2.0.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d67a65d93a805a1d7b3027dc919cff91f07da451d9eaac4e4178ad81c1f1641 +size 402082 diff --git a/numactl-2.0.9.tar.gz b/numactl-2.0.9.tar.gz deleted file mode 100644 index d242ac7..0000000 --- a/numactl-2.0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c -size 341455 diff --git a/numactl.changes b/numactl.changes index d225cc0..42c540a 100644 --- a/numactl.changes +++ b/numactl.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu Nov 27 07:35:32 UTC 2014 - meissner@suse.com + +- cleanup, also build for i586 +- remove move_pages.2 , as it is in manual-pages rpm. + +------------------------------------------------------------------- +Sat Nov 22 17:59:49 UTC 2014 - mailaender@opensuse.org + +- Update to version 2.0.10: + * 131123 numactl: numactl check for NUMA available (Elena Ufimtseva) + * 140715 numactl: fix numactl --show and preferrred node (Bill Gray) + * 140722 makefile: remove warning about missing .depend (Filipe Brandenburger) + * 140820 convert the build procedure to automake (Filipe Brandenburger) +- Cleanup spec file + * use RPM macros where possible + * remove redundant %clean + ------------------------------------------------------------------- Tue Jul 29 08:26:28 UTC 2014 - juwolf@suse.com diff --git a/numactl.spec b/numactl.spec index 5f2b481..9d8babe 100644 --- a/numactl.spec +++ b/numactl.spec @@ -22,19 +22,17 @@ Name: numactl Summary: NUMA Policy Control License: GPL-2.0+ Group: System/Management -Version: 2.0.9 +Version: 2.0.10 Release: 0 -# bug437293 -%ifarch ppc64 -Obsoletes: numactl-64bit -%endif -# Source: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz Source2: baselibs.conf +# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: revert_date_in_numastat.patch +# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: ia64 x86_64 ppc64 ppc64le ppc %sparc +BuildRequires: autoconf >= 2.64 +BuildRequires: automake Requires: perl %description @@ -66,24 +64,14 @@ individual NUMA policy in applications. %patch1 -p1 %build -# looks like a numactl mainline bug, will propably be fixed -# until next update and the rm line can get removed again. -# Remove the empty file, so that numstat gets build: -rm numastat - -make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS}" +autoconf +%configure --disable-static +make %{?_smp_mflags} CFLAGS="%{optflags}" %install -install -d -m 755 $RPM_BUILD_ROOT/usr/bin -install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3 -install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man5 -install -d -m 755 $RPM_BUILD_ROOT%{_libdir} -install -d -m 755 $RPM_BUILD_ROOT/usr/include -make prefix="%buildroot/%_prefix" libdir="%buildroot/%_libdir" install -rm -f $RPM_BUILD_ROOT/%{_libdir}/lib*a - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install +rm %{buildroot}%{_mandir}/man2/move_pages.2* +rm -f %{buildroot}/%{_libdir}/lib*a %post -n libnuma1 -p /sbin/ldconfig