Accepting request 1147758 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1147758 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/airspyhf?expand=0&rev=6
This commit is contained in:
commit
85bfa8ac0d
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 10:05:09 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||||
|
%patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 9 18:11:02 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
Thu Apr 9 18:11:02 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package airspyhf
|
# spec file for package airspyhf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -61,8 +61,7 @@ Requires: %{libname} = %{version}
|
|||||||
Library headers for Airspy HF+ driver.
|
Library headers for Airspy HF+ driver.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
# HACK: set udev group to airspyhf
|
# HACK: set udev group to airspyhf
|
||||||
sed -i "s/plugdev/airspyhf/g" tools/52-airspyhf.rules
|
sed -i "s/plugdev/airspyhf/g" tools/52-airspyhf.rules
|
||||||
@ -84,6 +83,7 @@ mv %{buildroot}%{_sysconfdir}/udev/rules.d/52-airspyhf.rules %{buildroot}%{_udev
|
|||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%pre udev
|
%pre udev
|
||||||
getent group %{airspyhf_group} >/dev/null || groupadd -r %{airspyhf_group}
|
getent group %{airspyhf_group} >/dev/null || groupadd -r %{airspyhf_group}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user