!11 Modify --with-distro to compatible with each os
From: @cherry530 Reviewed-by: @gitee-cmd Signed-off-by: @gitee-cmd
This commit is contained in:
commit
e54e35f935
7
sox.spec
7
sox.spec
@ -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/
|
||||||
@ -50,7 +50,7 @@ cp ${RPM_SOURCE_DIR}/binpatch.py binpatch.py
|
|||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
|
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
|
||||||
%configure --without-lpc10 --with-gsm --includedir=%{_includedir}/sox \
|
%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}
|
make V=1 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -115,6 +115,9 @@ mv $libsox_so.orig $libsox_so
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Apr 3 2020 duyeyu <duyeyu@huawei.com> - 14.4.2.0-27
|
||||||
- Modify configure parameters
|
- Modify configure parameters
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user