- cleanup, also build for i586

OBS-URL: https://build.opensuse.org/package/show/Base:System/numactl?expand=0&rev=49
This commit is contained in:
Marcus Meissner 2014-11-27 07:38:06 +00:00 committed by Git OBS Bridge
parent c765841655
commit 327dbd80bc
2 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 27 07:35:32 UTC 2014 - meissner@suse.com
- cleanup, also build for i586
-------------------------------------------------------------------
Sat Nov 22 17:59:49 UTC 2014 - mailaender@opensuse.org

View File

@ -24,11 +24,6 @@ License: GPL-2.0+
Group: System/Management
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
@ -36,7 +31,6 @@ 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
@ -71,12 +65,12 @@ individual NUMA policy in applications.
%build
autoconf
%configure
%configure --disable-static
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
%make_install
rm $RPM_BUILD_ROOT%{_mandir}/man2/move_pages.2.*
rm -f %{buildroot}/%{_libdir}/lib*a
%post -n libnuma1 -p /sbin/ldconfig