forked from pool/numactl
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
This commit is contained in:
parent
d2661eb6b4
commit
c765841655
3
numactl-2.0.10.tar.gz
Normal file
3
numactl-2.0.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5d67a65d93a805a1d7b3027dc919cff91f07da451d9eaac4e4178ad81c1f1641
|
||||
size 402082
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c
|
||||
size 341455
|
@ -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
|
||||
|
||||
|
29
numactl.spec
29
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
|
||||
|
Loading…
Reference in New Issue
Block a user