Fixes related to autotools introduced in 2.0.10 upstream
Signed-off-by: Petr Holasek <pholasek@redhat.com>
This commit is contained in:
parent
cc9c366586
commit
065d0a39a9
12
numactl.spec
12
numactl.spec
@ -9,6 +9,7 @@ Group: System Environment/Base
|
||||
URL: ftp://oss.sgi.com/www/projects/libnuma/download
|
||||
Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
|
||||
Buildroot: %{_tmppath}/%{name}-buildroot
|
||||
BuildRequires: libtool automake autoconf
|
||||
|
||||
ExcludeArch: s390 s390x %{arm}
|
||||
|
||||
@ -39,17 +40,15 @@ Provides development headers for numa library calls
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --libdir=%{_libdir}
|
||||
make clean
|
||||
make CFLAGS="$RPM_OPT_FLAGS -I."
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_includedir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
|
||||
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -70,15 +69,18 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/migspeed
|
||||
%{_bindir}/migratepages
|
||||
%{_mandir}/man8/*.8*
|
||||
%{_mandir}/man2/*.2*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libnuma.so.1.0.0
|
||||
%{_libdir}/libnuma.so.1
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libnuma.so
|
||||
%exclude %{_libdir}/libnuma.a
|
||||
%exclude %{_libdir}/libnuma.la
|
||||
%{_includedir}/numa.h
|
||||
%{_includedir}/numaif.h
|
||||
%{_includedir}/numacompat1.h
|
||||
|
Loading…
Reference in New Issue
Block a user