updated to 3.10.0

This commit is contained in:
Michal Hlavinka 2023-05-16 12:42:43 +02:00
parent 61cf8acd95
commit fb4badc2c1
4 changed files with 7 additions and 18 deletions

1
.gitignore vendored
View File

@ -23,3 +23,4 @@ pciutils-3.1.6.tar.gz
/pciutils-3.7.0.tar.xz
/pciutils-3.8.0.tar.xz
/pciutils-3.9.0.tar.xz
/pciutils-3.10.0.tar.xz

View File

@ -1,12 +0,0 @@
diff -up pciutils-3.9.0/lib/internal.h.extvisible pciutils-3.9.0/lib/internal.h
--- pciutils-3.9.0/lib/internal.h.extvisible 2022-12-16 19:15:16.914850590 +0100
+++ pciutils-3.9.0/lib/internal.h 2022-12-16 19:15:38.248989198 +0100
@@ -20,7 +20,7 @@
#define SYMBOL_VERSION(_int, _ext)
#else
#define STATIC_ALIAS(_decl, _for)
-#define DEFINE_ALIAS(_decl, _for) extern _decl __attribute__((alias(#_for)))
+#define DEFINE_ALIAS(_decl, _for) extern _decl __attribute__((alias(#_for),visibility("default"),externally_visible))
#ifdef _WIN32
/* GCC does not support asm .symver directive for Windows targets, so define new external global function symbol as alias to internal symbol */
#define SYMBOL_VERSION(_int, _ext) asm(".globl\t" PCI_STRINGIFY(__MINGW_USYMBOL(_ext)) "\n\t" \

View File

@ -1,6 +1,6 @@
Name: pciutils
Version: 3.9.0
Release: 4%{?dist}
Version: 3.10.0
Release: 1%{?dist}
Summary: PCI bus related utilities
License: GPL-2.0-or-later
URL: https://mj.ucw.cz/sw/pciutils/
@ -15,9 +15,6 @@ Patch1: pciutils-2.2.1-idpath.patch
#add support for directory with another pci.ids, rejected by upstream, rhbz#195327
Patch2: pciutils-dir-d.patch
#gcc optimizes-out some symbols when -flto is used ttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200
Patch3: pciutils-3.9.0-extvisible.patch
Requires: hwdata
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: gcc make sed kmod-devel
@ -106,6 +103,9 @@ diff -u %{SOURCE2} libpci_symbols_new.lst
%{_mandir}/man7/*
%changelog
* Tue May 16 2023 Michal Hlavinka <mhlavink@redhat.com> - 3.10.0-1
- updated to 3.10.0
* Tue Mar 14 2023 Michal Hlavinka <mhlavink@redhat.com> - 3.9.0-4
- update license tag format (SPDX migration) for https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1

View File

@ -1 +1 @@
SHA512 (pciutils-3.9.0.tar.xz) = f8935db7a264f2ceab49fb94e7a5b4959dfc6c113c50bf42cd2bac39c44109cfe836cd497c4347d6b2a5414abb245e301fd40d456c5168d05518a06a7b29b0e9
SHA512 (pciutils-3.10.0.tar.xz) = 7a2c1ca87be46647b964f7342a5887819e51678a4ee02b480f8f73e64124cc51ee09aafca41242c3b7d469cf2e9695ca4e9d8e62eda074496d0713553e59c34b