Modify --with-distro

Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
cherry530 2022-11-17 17:45:32 +08:00
parent a772ff9328
commit 62f0e06275

View File

@ -1,6 +1,6 @@
Name: sox
Version: 14.4.2.0
Release: 27
Release: 28
Summary: A general purpose sound file conversion tool
License: GPLv2+ and LGPLv2+ and MIT
URL: http://sox.sourceforge.net/
@ -50,7 +50,7 @@ cp ${RPM_SOURCE_DIR}/binpatch.py binpatch.py
%build
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
%configure --without-lpc10 --with-gsm --includedir=%{_includedir}/sox \
--disable-static --with-distro=openEuler --with-dyn-default
--disable-static --with-distro=%{_vendor} --with-dyn-default
make V=1 %{?_smp_mflags}
%install
@ -115,6 +115,9 @@ mv $libsox_so.orig $libsox_so
%{_mandir}/man3/*
%changelog
* Thu Nov 17 2022 xu_ping <xuping33@h-partners.com> - 14.4.2.0-28
- Modify --with-distro
* Fri Apr 3 2020 duyeyu <duyeyu@huawei.com> - 14.4.2.0-27
- Modify configure parameters