Accepting request 460691 from home:pluskalm:branches:Base:System
- Update to version 3.5.4: OBS-URL: https://build.opensuse.org/request/show/460691 OBS-URL: https://build.opensuse.org/package/show/Base:System/pciutils?expand=0&rev=60
This commit is contained in:
committed by
Git OBS Bridge
parent
cc5306abc5
commit
323a1de6c1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package pciutils
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define lname libpci3
|
||||
Name: pciutils
|
||||
Version: 3.5.1
|
||||
Version: 3.5.4
|
||||
Release: 0
|
||||
Summary: PCI utilities for the Linux Kernel
|
||||
License: GPL-2.0+
|
||||
@@ -27,14 +27,13 @@ Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
||||
Source: ftp://ftp.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.xz
|
||||
Source2: baselibs.conf
|
||||
Patch0: pciutils-3.2.0_update-dist.patch
|
||||
Patch1: %{name}-3.1.9_pkgconfig.patch
|
||||
Patch1: pciutils-3.1.9_pkgconfig.patch
|
||||
Patch2: pciutils-ocloexec.patch
|
||||
Patch3: pciutils-endianh.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libkmod)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Requires: pciutils-ids
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
lspci: This program displays detailed information about all PCI busses
|
||||
@@ -71,7 +70,7 @@ development using the PCI utilities.
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} OPT="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS) -Wall" PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP="" SHARED="yes"
|
||||
make %{?_smp_mflags} OPT="%{optflags}" PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP="" SHARED="yes"
|
||||
|
||||
%install
|
||||
make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}/sbin \
|
||||
@@ -89,8 +88,13 @@ ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README COPYING
|
||||
%{_mandir}/man?/*
|
||||
/sbin/*
|
||||
/sbin/lspci
|
||||
/sbin/setpci
|
||||
/sbin/update-pciids
|
||||
%{_mandir}/man7/pcilib.7%{ext_man}
|
||||
%{_mandir}/man8/lspci.8%{ext_man}
|
||||
%{_mandir}/man8/setpci.8%{ext_man}
|
||||
%{_mandir}/man8/update-pciids.8%{ext_man}
|
||||
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user