From b1824af72500476a21bfb6d33572a1cf65f242da3ee8acc824d29af4096db102 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 14 Feb 2019 16:15:41 +0000 Subject: [PATCH] - Replace pciutils-ids package * Provide compat symlink OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/hwdata?expand=0&rev=39 --- hwdata.changes | 6 ++++++ hwdata.spec | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/hwdata.changes b/hwdata.changes index 523792c..eb60fa2 100644 --- a/hwdata.changes +++ b/hwdata.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 14 16:07:45 UTC 2019 - Martin Pluskal + +- Replace pciutils-ids package + * Provide compat symlink + ------------------------------------------------------------------- Tue Feb 12 09:48:42 UTC 2019 - Martin Pluskal diff --git a/hwdata.spec b/hwdata.spec index f19806d..0aa1d43 100644 --- a/hwdata.spec +++ b/hwdata.spec @@ -24,6 +24,8 @@ License: GPL-2.0-or-later Group: Hardware/Other URL: https://github.com/vcrhonek/hwdata Source: https://github.com/vcrhonek/hwdata/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Provides: pciutils-ids = 20190109 +Obsoletes: pciutils-ids < 20190109 BuildArch: noarch %description @@ -39,6 +41,12 @@ such as the pci.ids and usb.ids databases. %install %make_install + +# create symlink for smooth transition from pciutils-ids package +ln -s %{_datadir}/hwdata/pci.ids \ + %{buildroot}%{_datadir}/pci.ids + +# not needed at all rm -rf %{buildroot}/%{_libdir}/modprobe.d %files @@ -49,5 +57,6 @@ rm -rf %{buildroot}/%{_libdir}/modprobe.d %{_datadir}/hwdata/pci.ids %{_datadir}/hwdata/pnp.ids %{_datadir}/hwdata/usb.ids +%{_datadir}/pci.ids %changelog