!5 speech-dispatcher delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @ruebb
Signed-off-by: @ruebb
This commit is contained in:
openeuler-ci-bot 2021-08-11 09:29:04 +00:00 committed by Gitee
commit 73541fefed

View File

@ -1,6 +1,6 @@
Name: speech-dispatcher
Version: 0.8.8
Release: 11
Release: 12
Summary: Common high-level interface to speech synthesis
License: GPLv2+ and GPLv2
URL: http://devel.freebsoft.org/speechd
@ -12,7 +12,7 @@ Patch0002: 0001-Remove-pyxdg-dependency.patch
Patch0003: 0002-Fix-global-variable-gcc10.patch
BuildRequires: alsa-lib-devel desktop-file-utils dotconf-devel espeak-ng-devel flite-devel
BuildRequires: glib2-devel intltool libao-devel libtool-ltdl-devel libsndfile-devel
BuildRequires: pulseaudio-libs-devel python3-devel python3-setuptools texinfo systemd git gcc
BuildRequires: pulseaudio-libs-devel python3-devel python3-setuptools texinfo systemd gcc
Provides: speech-dispatcher-utils = %{version}-%{release}
Obsoletes: speech-dispatcher-utils < %{version}-%{release}
Requires: python3-speechd = %{version}-%{release} speech-dispatcher-espeak-ng
@ -79,7 +79,7 @@ Requires: speech-dispatcher = %{version}-%{release}
Python v3 module for speech-dispatcher
%prep
%autosetup -n speech-dispatcher-%{version} -S git
%autosetup -n speech-dispatcher-%{version} -p1
tar xf %{SOURCE1}
%build
%configure --with-alsa --with-pulse --with-libao --without-oss --without-nas --with-flite --without-espeak \
@ -178,6 +178,9 @@ fi
%{python3_sitearch}/speechd*
%changelog
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.8.8-12
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri Jul 30 2021 yaokai <yaokai13@huawei.com> - 0.8.8-11
- Fix global variable gcc10