diff --git a/flac.spec b/flac.spec index 14f8ecc..18286df 100644 --- a/flac.spec +++ b/flac.spec @@ -1,14 +1,12 @@ Name: flac Version: 1.4.3 -Release: 3 +Release: 4 Summary: encoder/decoder which support the Free Lossless Audio Codec License: BSD-3-Clause AND GPL-2.0-or-later AND GFDL-1.1-or-later Source0: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz URL: http://www.xiph.org/flac/ -%ifarch sw_64 Patch0001: flac-1.4.3-sw.patch -%endif Patch6001: Limit-the-number-of-clock-calls.patch Patch6002: Documentation-man-flac.md-fix-typo.patch Patch6003: flac-foreign_metadata-fix-Walloc-size.patch @@ -39,7 +37,14 @@ Summary: help package for %{name} with man docs document files for %{name} %prep -%autosetup -n %{name}-%{version} -p1 +%setup -n %{name}-%{version} + +%ifarch sw_64 +%patch -P 1 -p1 +%endif + +%autopatch -m6001 -p1 + %build ./autogen.sh -V @@ -78,6 +83,9 @@ rm flac-doc/FLAC.tag %{buildroot}%{_libdir}/*.la %doc flac-doc-devel/* %changelog +* Tue Dec 10 2024 shenzhongwei - 1.4.3-4 +- include all patches in the source package. + * Fri Aug 9 2024 zhangxingrong - 1.4.3-3 - Limit the number of clock() calls - Documentation (man/flac.md); fix typo