Accepting request 635949 from home:avindra:branches:Base:System

target correct rev

OBS-URL: https://build.opensuse.org/request/show/635949
OBS-URL: https://build.opensuse.org/package/show/Base:System/pciutils?expand=0&rev=66
This commit is contained in:
Peter Simons 2018-09-17 08:24:41 +00:00 committed by Git OBS Bridge
parent 45b0d85d3b
commit 940ea61496
7 changed files with 85 additions and 36 deletions

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUAWg7eiMKOeEftcPgtAQI8ag//RghZfBL+pK0GM+1y/650UMNGK9M1Jqiq
NOcMJz2HB0xUYS5wMfBHFgnFILvum4IOb7O7FS0EZ5qdWuYHyfkR31MAwkLo0zGh
o/HlfgnLx//ObwAXb7airGJ/z2GIlIP9uRnCEJqpYIYTovgSrTVZbwqqMrcmdD2f
0O0EIc/1Z4CQXtMq3Mm7/WOQOPmekQRFJuoDD1oE3OcEggtoI22p0HJRKYuUxa1m
Ii7maRgHgkcuDI8UgO9z8Js+P6vTEQKogRY+x1FAbFWfJt4EJCnoV8PmsxleuDS/
hcK25F8y8MnXJUh5CsmwfF/AVpxhfn0555sYQdjKS/gBHYRHAQ1g/jqo1x2JZBEo
9EbvcF564/EQ1Zm1am9hJMV2i4/Kq1nIHmE6qjdl2jqas4Q9nBUqc3eBf7tcps9u
W+ZExVzjWdoaKxNIGjkC0ec1rq8sFBO07LWCuuwAAdyGwLqNVM/8E72hfyFaXEWd
CvTcXFJyAoUW6Qu1Y1/YgPd9vW6bGJPZE4hpQYni4eTqKQT+6hMNgq3dECFBMRuN
dLLT60yrObvM/94wQRd/w5M+q5iKHm2qTjKFb4mreNIPfn8K9+rN4fGLq43waiW7
98wtdN3Y702ONbbTg/oFD2bJ7eo16+z6LsqzfNkV34+8PFR/OnHh89llqACxasG6
Zh4T4XEQWfA=
=3Oxe
-----END PGP SIGNATURE-----

View File

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

16
pciutils-3.6.2.tar.sign Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVVj5OZzXg2hQVTxuwo54R+1w+C0FAltwE0wACgkQwo54R+1w
+C0FLRAAwqUFV6buopIPK851Tt7ahHGa3TMO/4H0BVuXqPhLF3e+TalfOICxIFKN
8LiR4shIL6hIi+M0mkyhx7L8qgfDdQZLBcfbXUigxJsF6VspZG3SFRSVJ4NdpudO
+D2nzKOOYuy1/WwzEB8z2ixe43Fr6jC37iS52/NpLQnov/kvDox17a4KfBOossf3
HBlWl7ZKpzeqnHR13gbti3Mk/F2e/TCwT+HFkZQnVp79KBKakSi1hrbVFZ3Uqs45
6mlApnKRnWWQzmco6XSoPRLs1xF32iysxnteGZ5ySgRlwkyOEIj7l7krGEo2mUpv
M4GHAa6FEHfaVKwozo2VHrCYKacaBnonwYmlPuV2ra8aaCGer7gJbWH8RSv3k7OR
iVDnhXeKrg+XUapHkFrVrYW4w1iKbYKSVGoB17lalHnF7eEK+NgaFq6lzTM5NnN3
ifJbDQyYnXu1Rwnx0XZi4rBdwiNRrZGFGuBMGYARn4wSK8czayPbHWSh9GTt6hHu
7SLzuNaVQSIPclA4ozqTBCjmXNcxfDvkGNAARmHzHKi2u3ELV15k4fVfC5fUliJa
zYEgbyk83+VTH0vALDxRFx5hqscC9c5tAwC2iqXBp985DvYBI+hqLwjTI0at2nvv
eCoLDzNdPsFDxxg101cnRY/8RCWrPjaC8ZmCUAxZHzWHU/7nszE=
=u7Rk
-----END PGP SIGNATURE-----

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

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

View File

@ -1,7 +1,6 @@
diff -urN pciutils-3.3.0.old/lib/sysdep.h pciutils-3.3.0/lib/sysdep.h
--- pciutils-3.3.0.old/lib/sysdep.h 2014-11-18 14:27:01.054393822 +0100
+++ pciutils-3.3.0/lib/sysdep.h 2014-11-18 14:28:43.420561080 +0100
@@ -18,79 +18,9 @@
--- a/lib/sysdep.h 2014-11-18 14:27:01.054393822 +0100
+++ b/lib/sysdep.h 2014-11-18 14:28:43.420561080 +0100
@@ -18,93 +18,8 @@
typedef u8 byte;
typedef u16 word;
@ -20,7 +19,7 @@ diff -urN pciutils-3.3.0.old/lib/sysdep.h pciutils-3.3.0/lib/sysdep.h
-#else
-
-#ifdef PCI_OS_LINUX
#include <endian.h>
-#include <endian.h>
-#define BYTE_ORDER __BYTE_ORDER
-#define BIG_ENDIAN __BIG_ENDIAN
-#endif
@ -55,6 +54,20 @@ diff -urN pciutils-3.3.0.old/lib/sysdep.h pciutils-3.3.0/lib/sysdep.h
-#endif
-#endif
-
-#ifdef PCI_OS_SYLIXOS
#include <endian.h>
-#endif
-
-#ifdef PCI_OS_DJGPP
- #define BIG_ENDIAN 4321
- #define LITTLE_ENDIAN 1234
- #define BYTE_ORDER LITTLE_ENDIAN
-#endif
-
-#if !defined(BYTE_ORDER)
-#error "BYTE_ORDER not defined for your platform"
-#endif
-
-#if BYTE_ORDER == BIG_ENDIAN
-#define cpu_to_le16 swab16
-#define cpu_to_le32 swab32
@ -79,7 +92,7 @@ diff -urN pciutils-3.3.0.old/lib/sysdep.h pciutils-3.3.0/lib/sysdep.h
-#define le16_to_cpu(x) (x)
-#define le32_to_cpu(x) (x)
-#endif
-
-#endif
+#define cpu_to_le16 htole16
+#define cpu_to_le32 htole32

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Sun Sep 16 17:35:15 UTC 2018 - Avindra Goolcharan <avindra@opensuse.org>
- Update to version 3.6.2
* Added "-P" and "-PP" switches to lspci, which display the path
through bridges to each device.
* Fixed a couple of bugs in computation of bus topology. It was
previously used only for the tree display, but we re-use it
for computing the paths.
* As usual, updated pci.ids to the current snapshot of the database.
- changes for version 3.6.0
* BARs reported by the OS, but not set on the device itself are
reliably marked with "[virtual]".
* lib: Introduced a generic mechanism of string properties. This
avoids lots of special cases and makes ABI compatibility easier.
* On systems with OpenFirmware, report corresponding device tree
nodes as device properties.
* VPD decoder knows several non-standard extensions.
* When PCIe link speed is less than the maximum supported by the
device, it is explicitly marked as "downgraded".
* Several new capabilities are not decoded yet, but at least
their names are printed.
* The Null capability is easily decoded.
* Formatting of several capabilities was cleaned up.
* The VGA16 bit in the bridge control register is now supported.
* Added a port to SylixOS.
* Added a port to DOS/DJGPP
* The order in which back-ends are probed was decoupled from the
internal back-end IDs. This helps, because new back-ends must
have their ID allocated at the end to keep the ABI, but they
might need to be proved earlier.
* The fbsd-device back-end should work again.
* Fixed a couple of bugs. Most notably, DeviceName was not printed.
- cleanup with spec-cleaner
- rebase pciutils-endianh.patch
-------------------------------------------------------------------
Sun Nov 19 01:26:23 UTC 2017 - aavindraa@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package pciutils
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname libpci3
Name: pciutils
Version: 3.5.6
Version: 3.6.2
Release: 0
Summary: PCI utilities for the Linux Kernel
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Hardware/Other
Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
URL: https://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
Source: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
Source1: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.sign
Source2: baselibs.conf
@ -87,14 +87,15 @@ ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
%postun -n %{lname} -p /sbin/ldconfig
%files
%doc README COPYING
%license COPYING
%doc README
/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}
%{_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}
/%{_lib}/libpci.so.*