From 940ea61496e02d4353ba0717907f5438207efc482dbec81c5da47873c7fefe86 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 17 Sep 2018 08:24:41 +0000 Subject: [PATCH] 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 --- pciutils-3.5.6.tar.sign | 17 ----------------- pciutils-3.5.6.tar.xz | 3 --- pciutils-3.6.2.tar.sign | 16 ++++++++++++++++ pciutils-3.6.2.tar.xz | 3 +++ pciutils-endianh.patch | 25 +++++++++++++++++++------ pciutils.changes | 36 ++++++++++++++++++++++++++++++++++++ pciutils.spec | 21 +++++++++++---------- 7 files changed, 85 insertions(+), 36 deletions(-) delete mode 100644 pciutils-3.5.6.tar.sign delete mode 100644 pciutils-3.5.6.tar.xz create mode 100644 pciutils-3.6.2.tar.sign create mode 100644 pciutils-3.6.2.tar.xz diff --git a/pciutils-3.5.6.tar.sign b/pciutils-3.5.6.tar.sign deleted file mode 100644 index c0f5474..0000000 --- a/pciutils-3.5.6.tar.sign +++ /dev/null @@ -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----- diff --git a/pciutils-3.5.6.tar.xz b/pciutils-3.5.6.tar.xz deleted file mode 100644 index b93581a..0000000 --- a/pciutils-3.5.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f346eeb90cce0910c05b877fe49eadc760fa084c0455fd313e39d4b2c2d4bb21 -size 328256 diff --git a/pciutils-3.6.2.tar.sign b/pciutils-3.6.2.tar.sign new file mode 100644 index 0000000..724472d --- /dev/null +++ b/pciutils-3.6.2.tar.sign @@ -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----- diff --git a/pciutils-3.6.2.tar.xz b/pciutils-3.6.2.tar.xz new file mode 100644 index 0000000..3d8c0be --- /dev/null +++ b/pciutils-3.6.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db452ec986edefd88af0d222d22f6102f8030a8633fdfe846c3ae4bde9bb93f3 +size 344492 diff --git a/pciutils-endianh.patch b/pciutils-endianh.patch index 18c5271..84d2af8 100644 --- a/pciutils-endianh.patch +++ b/pciutils-endianh.patch @@ -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 +-#include -#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 +-#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 diff --git a/pciutils.changes b/pciutils.changes index e4d341c..17f6d57 100644 --- a/pciutils.changes +++ b/pciutils.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Sun Sep 16 17:35:15 UTC 2018 - Avindra Goolcharan + +- 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 diff --git a/pciutils.spec b/pciutils.spec index ff8d56c..06c99ea 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -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.*