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
This commit is contained in:
Takashi Iwai 2024-03-24 07:58:19 +00:00 committed by Git OBS Bridge
parent 9cc9998b1c
commit ca2b0ccece
2 changed files with 11 additions and 0 deletions

View File

@ -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 <alarrosa@suse.com>
- 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 <dimstar@opensuse.org>

View File

@ -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