From d616612547e48f30d18860e2a28c41e651cb151bd6f8c8f5cea273ba8a77633f Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Mon, 10 Aug 2015 11:17:40 +0000 Subject: [PATCH] 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 --- numactl.changes | 6 ++++++ numactl.spec | 20 +++++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/numactl.changes b/numactl.changes index a9d4709..fcf26f6 100644 --- a/numactl.changes +++ b/numactl.changes @@ -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 diff --git a/numactl.spec b/numactl.spec index df6a070..9616f20 100644 --- a/numactl.spec +++ b/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