!62 [sync] PR-58: 源码包同源异构问题修复

From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2025-02-17 12:32:07 +00:00 committed by Gitee
commit b5aaff6181
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,14 +1,12 @@
Name: flac Name: flac
Version: 1.4.3 Version: 1.4.3
Release: 3 Release: 4
Summary: encoder/decoder which support the Free Lossless Audio Codec 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 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 Source0: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
URL: http://www.xiph.org/flac/ URL: http://www.xiph.org/flac/
%ifarch sw_64
Patch0001: flac-1.4.3-sw.patch Patch0001: flac-1.4.3-sw.patch
%endif
Patch6001: Limit-the-number-of-clock-calls.patch Patch6001: Limit-the-number-of-clock-calls.patch
Patch6002: Documentation-man-flac.md-fix-typo.patch Patch6002: Documentation-man-flac.md-fix-typo.patch
Patch6003: flac-foreign_metadata-fix-Walloc-size.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} document files for %{name}
%prep %prep
%autosetup -n %{name}-%{version} -p1 %setup -n %{name}-%{version}
%ifarch sw_64
%patch -P 1 -p1
%endif
%autopatch -m6001 -p1
%build %build
./autogen.sh -V ./autogen.sh -V
@ -78,6 +83,9 @@ rm flac-doc/FLAC.tag %{buildroot}%{_libdir}/*.la
%doc flac-doc-devel/* %doc flac-doc-devel/*
%changelog %changelog
* Tue Dec 10 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 1.4.3-4
- include all patches in the source package.
* Fri Aug 9 2024 zhangxingrong <zhangxingrong@uniontech.cn> - 1.4.3-3 * Fri Aug 9 2024 zhangxingrong <zhangxingrong@uniontech.cn> - 1.4.3-3
- Limit the number of clock() calls - Limit the number of clock() calls
- Documentation (man/flac.md); fix typo - Documentation (man/flac.md); fix typo