Use shebang fix macro

This commit is contained in:
Guido Aulisi 2023-01-31 23:45:45 +01:00
parent 223fc9b487
commit 59f8b4aee2

View File

@ -5,7 +5,7 @@
Name: guitarix Name: guitarix
Version: 0.44.1 Version: 0.44.1
Release: 4%{?dist} Release: 5%{?dist}
Summary: A virtual guitar amplifier Summary: A virtual guitar amplifier
License: GPLv2+ License: GPLv2+
URL: http://guitarix.sourceforge.net/ URL: http://guitarix.sourceforge.net/
@ -16,8 +16,8 @@ Patch2: %{name}-cstdint-include.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: python3 BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: %{_bindir}/find BuildRequires: %{_bindir}/find
BuildRequires: %{_bindir}/pathfix.py
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: faust BuildRequires: faust
BuildRequires: fftw-devel >= 3.3.8 BuildRequires: fftw-devel >= 3.3.8
@ -126,7 +126,7 @@ guitarix, but can also be used by any other ladspa host.
%autosetup -p1 -n %{name}-%{version} %autosetup -p1 -n %{name}-%{version}
# Fix unversioned python shebangs # Fix unversioned python shebangs
pathfix.py -pni %{_bindir}/python3 \ %py3_shebang_fix \
$(find -name wscript) \ $(find -name wscript) \
waf \ waf \
tools/make_jsonrpc_methods \ tools/make_jsonrpc_methods \
@ -211,6 +211,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.%{name}.%{
%{_libdir}/lv2/* %{_libdir}/lv2/*
%changelog %changelog
* Tue Jan 31 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.44.1-5
- Use shebang fix macro
* Tue Jan 31 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.44.1-4 * Tue Jan 31 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.44.1-4
- Fix FTBFS with python 3.11 and gcc 13 - Fix FTBFS with python 3.11 and gcc 13