!6 modify spec

Merge pull request !6 from duyyb/master
This commit is contained in:
openeuler-ci-bot 2020-04-03 17:21:57 +08:00 committed by Gitee
commit 70dde3456f

View File

@ -1,6 +1,6 @@
Name: sox Name: sox
Version: 14.4.2.0 Version: 14.4.2.0
Release: 26 Release: 27
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=Fedora --with-dyn-default --disable-static --with-distro=openEuler --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
* Fri Apr 3 2020 duyeyu <duyeyu@huawei.com> - 14.4.2.0-27
- Modify configure parameters
* Thu Mar 12 2020 Jiangping Hu <hujp1985@foxmail.com> - 14.4.2.0-26 * Thu Mar 12 2020 Jiangping Hu <hujp1985@foxmail.com> - 14.4.2.0-26
- Fix a require of devel package - Fix a require of devel package