forked from pool/airspyhf
Accepting request 1147739 from home:dimstar:rpm4.20:a
Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147739 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/airspyhf?expand=0&rev=15
This commit is contained in:
parent
f241323e75
commit
f4393a3727
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package airspyhf
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -61,8 +61,7 @@ Requires: %{libname} = %{version}
|
||||
Library headers for Airspy HF+ driver.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
# HACK: set udev group to airspyhf
|
||||
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
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%pre udev
|
||||
getent group %{airspyhf_group} >/dev/null || groupadd -r %{airspyhf_group}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user