Accepting request 1161086 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1161086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lv2?expand=0&rev=23
This commit is contained in:
Ana Guerrero 2024-03-25 20:07:00 +00:00 committed by Git OBS Bridge
commit 7d03016f48
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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> Tue May 2 11:01:08 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package lv2 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -44,7 +44,9 @@ BuildRequires: pkgconfig(sndfile) >= 1.0.0
%if %{asciidocs} == 1 %if %{asciidocs} == 1
# Documentation build requirements. # Documentation build requirements.
BuildRequires: asciidoc BuildRequires: asciidoc
%ifnarch i586 i686
BuildRequires: codespell BuildRequires: codespell
%endif
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: graphviz BuildRequires: graphviz
BuildRequires: python3-Pygments BuildRequires: python3-Pygments
@ -173,12 +175,15 @@ This package contains the LV2 API documentation.
%prep %prep
%setup -q %setup -q
%autopatch -p0 %autopatch -p0
sed -i -e "s/find_program('codespell', required: get_option('tests'))/find_program('codespell', required: false)/" test/meson.build
%build %build
%meson -D old_headers=true \ %meson -D old_headers=true \
%if %{asciidocs} == 1 %if %{asciidocs} == 1
-D docs=enabled \ -D docs=enabled \
%endif %endif
%{nil}
%meson_build %meson_build
%install %install
@ -186,7 +191,7 @@ This package contains the LV2 API documentation.
%fdupes -s %{buildroot}%{_includedir} %fdupes -s %{buildroot}%{_includedir}
sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' %{buildroot}%{_bindir}/lv2specgen.py %python3_fix_shebang
%files %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)