Accepting request 146742 from home:elvigia:branches:Base:System

- pciutils-endianh.patch Use the documented/optimized byteswapping
 routines from endian.h

OBS-URL: https://build.opensuse.org/request/show/146742
OBS-URL: https://build.opensuse.org/package/show/Base:System/pciutils?expand=0&rev=36
This commit is contained in:
2013-01-03 07:43:27 +00:00
committed by Git OBS Bridge
parent 9d42fa819a
commit cde52628bf
3 changed files with 89 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ Source2: baselibs.conf
Patch: update-pciutils-dist
Patch1: %{name}-%{version}_pkgconfig.patch
Patch2: pciutils-ocloexec.patch
Patch3: pciutils-endianh.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -88,9 +89,9 @@ Authors:
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3
%build
make %{?_smp_mflags} OPT="$RPM_OPT_FLAGS -Wall" PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP="" SHARED="yes"
make %{?_smp_mflags} OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE $(getconf LFS_CFLAGS) -Wall" PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP="" SHARED="yes"
%install
make install PREFIX=$RPM_BUILD_ROOT%{_prefix} SBINDIR=$RPM_BUILD_ROOT/sbin \