forked from pool/hwdata
- Replace pciutils-ids package
* Provide compat symlink OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/hwdata?expand=0&rev=39
This commit is contained in:
parent
505cd2f3c1
commit
b1824af725
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 16:07:45 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Replace pciutils-ids package
|
||||
* Provide compat symlink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 12 09:48:42 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user