delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:35:13 +08:00
parent a772ff9328
commit aea591ce59
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: sox Name: sox
Version: 14.4.2.0 Version: 14.4.2.0
Release: 27 Release: 28
Summary: A general purpose sound file conversion tool Summary: A general purpose sound file conversion tool
License: GPLv2+ and LGPLv2+ and MIT License: GPLv2+ and LGPLv2+ and MIT
URL: http://sox.sourceforge.net/ URL: http://sox.sourceforge.net/
@ -23,7 +23,7 @@ BuildRequires: gsm-devel, wavpack-devel, ladspa-devel, libpng-devel
BuildRequires: flac-devel, libao-devel, libsndfile-devel, libid3tag-devel BuildRequires: flac-devel, libao-devel, libsndfile-devel, libid3tag-devel
BuildRequires: pulseaudio-libs-devel, opusfile-devel BuildRequires: pulseaudio-libs-devel, opusfile-devel
BuildRequires: libtool, libmad-devel, lame-devel, twolame-devel BuildRequires: libtool, libmad-devel, lame-devel, twolame-devel
BuildRequires: python3, time, libsamplerate-devel, git BuildRequires: python3, time, libsamplerate-devel,
%description %description
SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility
@ -43,7 +43,7 @@ which will use the SoX sound file format converter.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-downstream-%{name}-%{version}.modified -Sgit -p1 %autosetup -n %{name}-downstream-%{name}-%{version}.modified -p1
autoreconf -vfi autoreconf -vfi
cp ${RPM_SOURCE_DIR}/binpatch.py binpatch.py cp ${RPM_SOURCE_DIR}/binpatch.py binpatch.py
@ -115,6 +115,9 @@ mv $libsox_so.orig $libsox_so
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 14.4.2.0-28
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Apr 3 2020 duyeyu <duyeyu@huawei.com> - 14.4.2.0-27 * Fri Apr 3 2020 duyeyu <duyeyu@huawei.com> - 14.4.2.0-27
- Modify configure parameters - Modify configure parameters