Accepting request 320032 from home:pluskalm:branches:Base:System
- Cleanup spec file with spec-cleaner - Use autoreconf to update configure OBS-URL: https://build.opensuse.org/request/show/320032 OBS-URL: https://build.opensuse.org/package/show/Base:System/numactl?expand=0&rev=60
This commit is contained in:
parent
bc75c7eb79
commit
d616612547
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 2 17:08:54 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Use autoreconf to update configure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 16:28:34 UTC 2015 - crrodriguez@opensuse.org
|
||||
|
||||
|
20
numactl.spec
20
numactl.spec
@ -16,27 +16,27 @@
|
||||
#
|
||||
|
||||
|
||||
Url: http://oss.sgi.com/projects/libnuma/
|
||||
|
||||
Name: numactl
|
||||
Version: 2.0.10
|
||||
Release: 0
|
||||
Summary: NUMA Policy Control
|
||||
License: GPL-2.0
|
||||
Group: System/Management
|
||||
Version: 2.0.10
|
||||
Release: 0
|
||||
Source: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
|
||||
Url: http://oss.sgi.com/projects/libnuma/
|
||||
Source0: 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
|
||||
Patch2: numactl-clearcache-pie.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildRequires: autoconf >= 2.64
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
%endif
|
||||
Requires: perl
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Control NUMA policy for individual processes. Offer libnuma for
|
||||
@ -66,11 +66,13 @@ individual NUMA policy in applications.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} > 1110
|
||||
autoconf
|
||||
autoreconf -fiv
|
||||
%endif
|
||||
%configure --disable-static
|
||||
%configure \
|
||||
--disable-static
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
@ -94,7 +96,7 @@ rm -f %{buildroot}/%{_libdir}/lib*a
|
||||
|
||||
%files -n libnuma-devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man3/*
|
||||
%{_mandir}/man3/*
|
||||
%{_includedir}/*
|
||||
%{_libdir}/lib*so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user