From c765841655d08eede3c22d8407bef369ff92a3913918c1d2aaea4b5f8b0c6dfa Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 25 Nov 2014 07:08:04 +0000 Subject: [PATCH] Accepting request 262711 from home:Mailaender:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/262711 OBS-URL: https://build.opensuse.org/package/show/Base:System/numactl?expand=0&rev=48 --- numactl-2.0.10.tar.gz | 3 +++ numactl-2.0.9.tar.gz | 3 --- numactl.changes | 12 ++++++++++++ numactl.spec | 29 ++++++++++++----------------- 4 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 numactl-2.0.10.tar.gz delete mode 100644 numactl-2.0.9.tar.gz 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..1f9bafc 100644 --- a/numactl.changes +++ b/numactl.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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..1d8d592 100644 --- a/numactl.spec +++ b/numactl.spec @@ -22,7 +22,7 @@ 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 @@ -31,10 +31,14 @@ Obsoletes: numactl-64bit # 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 +ExclusiveArch: ia64 x86_64 ppc64 ppc64le ppc %sparc +BuildRequires: autoconf >= 2.64 +BuildRequires: automake Requires: perl %description @@ -66,24 +70,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 +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 +%make_install -%clean -rm -rf $RPM_BUILD_ROOT +rm -f %{buildroot}/%{_libdir}/lib*a %post -n libnuma1 -p /sbin/ldconfig @@ -101,6 +95,7 @@ rm -rf $RPM_BUILD_ROOT %files -n libnuma-devel %defattr(-,root,root) +%doc %{_mandir}/man2/* %doc %{_mandir}/man3/* %{_includedir}/* %{_libdir}/lib*so