commit bc0b60f53e38d40bba39b9da6f010841f4ce218e Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:52:56 2019 -0400 Package init diff --git a/bugfix-rename-some-pci-name.patch b/bugfix-rename-some-pci-name.patch new file mode 100644 index 0000000..e6c9aff --- /dev/null +++ b/bugfix-rename-some-pci-name.patch @@ -0,0 +1,25 @@ +From 39e2f74eade1a0876beb36a131633900e7f44cbc Mon Sep 17 00:00:00 2001 +From: kangenbo +Date: Sat, 26 Jan 2019 10:18:33 -0500 +Subject: [PATCH] bugfix-rename-some-pci-name.patch + +--- + pci.ids | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pci.ids b/pci.ids +index 00e958d..fd8a42b 100644 +--- a/pci.ids ++++ b/pci.ids +@@ -21182,7 +21182,7 @@ + 3003 ioMemory Mezzanine + 1aee Caustic Graphics Inc. + # nee Qumranet, Inc. +-1af4 Red Hat, Inc. ++1af4 Virtio: + 1000 Virtio network device + 1001 Virtio block device + 1002 Virtio memory balloon +-- +1.8.3.1 + diff --git a/enhancement-update-Hi1822-info-in-pci-ids.patch b/enhancement-update-Hi1822-info-in-pci-ids.patch new file mode 100644 index 0000000..da20aa1 --- /dev/null +++ b/enhancement-update-Hi1822-info-in-pci-ids.patch @@ -0,0 +1,37 @@ +From 3c7cabf4d47ceff8dd85f27568d9c7fbd03e1b50 Mon Sep 17 00:00:00 2001 +From: kangenbo +Date: Mon, 28 Jan 2019 11:21:50 -0500 +Subject: [PATCH] enhancement-update-Hi1822-info-in-pci-ids + +--- + pci.ids | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +diff --git a/pci.ids b/pci.ids +index 35bbbfb..0dcd0b0 100644 +--- a/pci.ids ++++ b/pci.ids +@@ -30698,3 +30698,20 @@ C 12 Processing accelerators + C 13 Non-Essential Instrumentation + C 40 Coprocessor + C ff Unassigned class ++19e5 Huawei Technologies Co., Ltd. ++ 1822 Hi1822 Family (4*25GE) ++ 0201 Hi1822 Family (2*100GE) ++ 0202 Hi1822 Family (2*32G FC) ++ 0203 Hi1822 Family (2*16G FC) ++ 0204 Hi1822 Family (4*10GE) ++ 0205 Hi1822 Family (2*100GE) ++ 0208 Hi1822 Family (2*100GE) ++ 020B Hi1822 Family (4*25GE) ++ 020C Hi1822 Family (4*32G FC) ++ 020D Hi1822 Family (2*40GE) ++ 0210 Hi1822 Family (4*25GE) ++ 0211 Hi1822 Family (4*25GE) ++ 0212 Hi1822 Family (2*8G FC) ++ 375e Hi1822 Family Virtual Function ++ 379e Hi1822 Family Virtual Function ++ 371e Hi1822 Family Virtual Bridge +-- +1.8.3.1 + diff --git a/hwdata.spec b/hwdata.spec new file mode 100644 index 0000000..a4995fd --- /dev/null +++ b/hwdata.spec @@ -0,0 +1,45 @@ +Name: hwdata +Version: 0.316 +Release: 2 +Summary: Record hardware identification and configuration data +License: GPLv2+ +Source: https://github.com/vcrhonek/hwdata/archive/v%{version}.tar.gz +URL: https://github.com/vcrhonek/hwdata +BuildArch: noarch + +Patch9000: enhancement-update-Hi1822-info-in-pci-ids.patch +Patch9001: bugfix-rename-some-pci-name.patch + +%description +hwdata is used to record many hardware identification and configuration data, +such as the pnp.ids, usb.ids and pci.ids databases. + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure + +%install +%make_install libdir=%{_prefix}/lib + +%files +%doc LICENSE COPYING +%{_prefix}/lib/modprobe.d/dist-blacklist.conf +%{_datadir}/%{name}/* + +%changelog +* Sat Apr 6 2019 luochunsheng - 0.316-2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:remove sensitive information + +* Mon Jan 28 2019 Enbo Kang - 0.316-1.h2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:sync patches + +* Fri Jan 25 2019 openEuler Buildteam - 0.316-1 +- Package init diff --git a/v0.316.tar.gz b/v0.316.tar.gz new file mode 100644 index 0000000..b668997 Binary files /dev/null and b/v0.316.tar.gz differ