Accepting request 263647 from Base:System

- cleanup, also build for i586
- remove move_pages.2 , as it is in manual-pages rpm.

- 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

OBS-URL: https://build.opensuse.org/request/show/263647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/numactl?expand=0&rev=48
This commit is contained in:
Dominique Leuenberger 2014-12-03 21:53:26 +00:00 committed by Git OBS Bridge
commit a879bb4e35
4 changed files with 32 additions and 26 deletions

3
numactl-2.0.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d67a65d93a805a1d7b3027dc919cff91f07da451d9eaac4e4178ad81c1f1641
size 402082

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c
size 341455

View File

@ -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 Tue Jul 29 08:26:28 UTC 2014 - juwolf@suse.com

View File

@ -22,19 +22,17 @@ Name: numactl
Summary: NUMA Policy Control Summary: NUMA Policy Control
License: GPL-2.0+ License: GPL-2.0+
Group: System/Management Group: System/Management
Version: 2.0.9 Version: 2.0.10
Release: 0 Release: 0
# bug437293
%ifarch ppc64
Obsoletes: numactl-64bit
%endif
#
Source: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz Source: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
Source2: baselibs.conf Source2: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: revert_date_in_numastat.patch 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 Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: ia64 x86_64 ppc64 ppc64le ppc %sparc BuildRequires: autoconf >= 2.64
BuildRequires: automake
Requires: perl Requires: perl
%description %description
@ -66,24 +64,14 @@ individual NUMA policy in applications.
%patch1 -p1 %patch1 -p1
%build %build
# looks like a numactl mainline bug, will propably be fixed autoconf
# until next update and the rm line can get removed again. %configure --disable-static
# Remove the empty file, so that numstat gets build: make %{?_smp_mflags} CFLAGS="%{optflags}"
rm numastat
make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS}"
%install %install
install -d -m 755 $RPM_BUILD_ROOT/usr/bin %make_install
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3 rm %{buildroot}%{_mandir}/man2/move_pages.2*
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man5 rm -f %{buildroot}/%{_libdir}/lib*a
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
%post -n libnuma1 -p /sbin/ldconfig %post -n libnuma1 -p /sbin/ldconfig