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