From 9cc9998b1c130e94395560646997964cdb643d6794356e160f5160b4625c7ea8 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Sun, 24 Mar 2024 07:52:29 +0000 Subject: [PATCH 1/2] Accepting request 1160676 from home:pgajdos - remove dependency on /usr/bin/python3 using %python3_fix_shebang macro, [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1160676 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lv2?expand=0&rev=42 --- lv2.changes | 6 ++++++ lv2.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lv2.changes b/lv2.changes index af480f6..4609b90 100644 --- a/lv2.changes +++ b/lv2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 22 12:29:27 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang macro, [bsc#1212476] + ------------------------------------------------------------------- Tue May 2 11:01:08 UTC 2023 - Dominique Leuenberger diff --git a/lv2.spec b/lv2.spec index 6638573..9d9dbb8 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,7 +1,7 @@ # # spec file for package lv2 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -186,7 +186,7 @@ This package contains the LV2 API documentation. %fdupes -s %{buildroot}%{_includedir} -sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' %{buildroot}%{_bindir}/lv2specgen.py +%python3_fix_shebang %files %defattr(0644,root,root,0755) From ca2b0ccece46063eaacf3a9247dc89efcbb69b3935e4578cda626aad84f78304 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Sun, 24 Mar 2024 07:58:19 +0000 Subject: [PATCH 2/2] Accepting request 1159759 from home:alarrosa:branches:multimedia:libs - Make codespell optional and not BuildRequire it in i586/i686 where it's not available. OBS-URL: https://build.opensuse.org/request/show/1159759 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lv2?expand=0&rev=43 --- lv2.changes | 6 ++++++ lv2.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/lv2.changes b/lv2.changes index 4609b90..74c7028 100644 --- a/lv2.changes +++ b/lv2.changes @@ -4,6 +4,12 @@ Fri Mar 22 12:29:27 UTC 2024 - pgajdos@suse.com - remove dependency on /usr/bin/python3 using %python3_fix_shebang macro, [bsc#1212476] +------------------------------------------------------------------- +Wed Mar 20 07:08:58 UTC 2024 - Antonio Larrosa + +- Make codespell optional and not BuildRequire it in i586/i686 + where it's not available. + ------------------------------------------------------------------- Tue May 2 11:01:08 UTC 2023 - Dominique Leuenberger diff --git a/lv2.spec b/lv2.spec index 9d9dbb8..ba658a6 100644 --- a/lv2.spec +++ b/lv2.spec @@ -44,7 +44,9 @@ BuildRequires: pkgconfig(sndfile) >= 1.0.0 %if %{asciidocs} == 1 # Documentation build requirements. BuildRequires: asciidoc +%ifnarch i586 i686 BuildRequires: codespell +%endif BuildRequires: doxygen BuildRequires: graphviz BuildRequires: python3-Pygments @@ -173,12 +175,15 @@ This package contains the LV2 API documentation. %prep %setup -q %autopatch -p0 +sed -i -e "s/find_program('codespell', required: get_option('tests'))/find_program('codespell', required: false)/" test/meson.build %build %meson -D old_headers=true \ %if %{asciidocs} == 1 -D docs=enabled \ %endif + %{nil} + %meson_build %install