SHA256
1
0
forked from pool/hwdata

Accepting request 676182 from devel:openSUSE:Factory

- Replace pciutils-ids package
  * Provide compat symlink

OBS-URL: https://build.opensuse.org/request/show/676182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwdata?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2019-02-17 11:18:34 +00:00 committed by Git OBS Bridge
commit c456d01fef
2 changed files with 15 additions and 0 deletions

View File

@ -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> Tue Feb 12 09:48:42 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -24,6 +24,8 @@ License: GPL-2.0-or-later
Group: Hardware/Other Group: Hardware/Other
URL: https://github.com/vcrhonek/hwdata URL: https://github.com/vcrhonek/hwdata
Source: https://github.com/vcrhonek/hwdata/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz 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 BuildArch: noarch
%description %description
@ -39,6 +41,12 @@ such as the pci.ids and usb.ids databases.
%install %install
%make_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 rm -rf %{buildroot}/%{_libdir}/modprobe.d
%files %files
@ -49,5 +57,6 @@ rm -rf %{buildroot}/%{_libdir}/modprobe.d
%{_datadir}/hwdata/pci.ids %{_datadir}/hwdata/pci.ids
%{_datadir}/hwdata/pnp.ids %{_datadir}/hwdata/pnp.ids
%{_datadir}/hwdata/usb.ids %{_datadir}/hwdata/usb.ids
%{_datadir}/pci.ids
%changelog %changelog