SHA256
1
0
forked from pool/pciutils

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:
Tomáš Chvátal 2017-02-27 12:32:25 +00:00 committed by Git OBS Bridge
parent cc5306abc5
commit 323a1de6c1
4 changed files with 36 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2bf3a4605a562fb6b8b7673bff85a474a5cf383ed7e4bd8886b4f0939013d42f
size 312968

3
pciutils-3.5.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66
size 320412

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon Feb 27 12:07:44 UTC 2017 - mpluskal@suse.com
- Update to version 3.5.4:
* Previous version broke compilation on systems, for which
lib/types.h did not provide a 64-bit integer type. It is
provided everywhere now.
- Changes for version 3.5.3:
* When lspci looks for Linux kernel modules, it uses the default
path to module directory provided by libkmod. Previously,
it tried to construct the path explicitly, which need not
work on all systems.
* Improved formatting of memory and I/O ranges behind a bridge.
* PCIe link capabilities now display GEN4 speed (16GT/s).
* PCIe device capabilities now show bits related to atomic
operations.
- Changes for version 3.5.2:
* The L1 power management capability is now decoded more
thoroughly. Thanks to Rajat Jain for the patch.
* The table of configuration registers used by setpci
had a bug in the definition of SUBSYSTEM_VENDOR_ID.
-------------------------------------------------------------------
Wed May 25 07:59:27 UTC 2016 - mpluskal@suse.com

View File

@ -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)