From 532388fd665c1f398b506768b596a75f8be5200c3d98c6e21bdbed974b80a2d2 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 12 Mar 2024 13:08:14 +0000 Subject: [PATCH] Accepting request 1157197 from home:alarrosa:branches:multimedia:libs - Add %pycache_only macro for the __pycache__ file to fix build in 15.6 OBS-URL: https://build.opensuse.org/request/show/1157197 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=49 --- lilv.changes | 6 ++++++ lilv.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lilv.changes b/lilv.changes index 0022dde..8193605 100644 --- a/lilv.changes +++ b/lilv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 6 16:40:20 UTC 2024 - Antonio Larrosa + +- Add %pycache_only macro for the __pycache__ file to fix build + in 15.6 + ------------------------------------------------------------------- Mon Dec 26 11:45:08 UTC 2022 - Konstantin Voinov diff --git a/lilv.spec b/lilv.spec index 7a888bf..d811cca 100644 --- a/lilv.spec +++ b/lilv.spec @@ -1,7 +1,7 @@ # # spec file for package lilv # -# Copyright (c) 2022 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 @@ -45,7 +45,7 @@ BuildRequires: pkgconfig(lv2) >= 1.8.0 BuildRequires: pkgconfig(serd-0) >= 0.30.0 BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(sord-0) >= 0.13 -BuildRequires: pkgconfig(sratom-0) >= 0.4.0 +BuildRequires: pkgconfig(sratom-0) >= 0.6.10 # lilv 0.22 require new API of sord 0.13 # Since sord sover unchanged from 0.12, explicitly require here. Requires(pre): liblilv-0-%{sover} = %{version} @@ -127,6 +127,7 @@ rmdir %{buildroot}%{_sysconfdir}/bash_completion.d %endif %files -n python3-lilv -%{python3_sitelib}/lilv.py +%{python_sitelib}/lilv.py +%pycache_only %{python_sitelib}/__pycache__/lilv.*.pyc %changelog