diff --git a/mpd.changes b/mpd.changes index 0faebd1..b26a206 100644 --- a/mpd.changes +++ b/mpd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 18 10:40:15 UTC 2025 - Илья Индиго <ilya@ilya.top> + +- Limited build to fmt 10.2.1 for Tumbleweed (fmt 11.1.1 broken). + ------------------------------------------------------------------- Wed Dec 11 12:29:03 UTC 2024 - Илья Индиго <ilya@ilya.top> diff --git a/mpd.spec b/mpd.spec index 06fe39a..e591930 100644 --- a/mpd.spec +++ b/mpd.spec @@ -1,7 +1,7 @@ # # spec file for package mpd # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,7 +57,6 @@ BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(fluidsynth) -BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(id3tag) BuildRequires: pkgconfig(jack) @@ -106,6 +105,11 @@ Provides: user(%{name}) %if %{with faad} BuildRequires: faad2-devel %endif +%if 0%{?sle_version} > 150000 && 0%{?sle_version} < 160000 +BuildRequires: pkgconfig(fmt) +%else +BuildRequires: pkgconfig(fmt) = 10.2.1 +%endif %if %{with mpd_iso9660} BuildRequires: pkgconfig(libiso9660) %endif