delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-11 19:35:02 +08:00
parent 9ed5560c1e
commit 0fbfb73049
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,7 +1,7 @@
Name: SDL
Summary: A cross-platform multimedia library
Version: 1.2.15
Release: 37
Release: 38
License: LGPLv2+
URL: http://www.libsdl.org/
@ -23,7 +23,7 @@ Patch12: SDL-1.2.15-SDL_EnableUNICODE_drops_keyboard_events.patch
Patch13: SDL-1.2.15-vec_perm-ppc64le.patch
Patch14: CVE-2019-13616.patch
BuildRequires: git alsa-lib-devel gdb-headless libtool
BuildRequires: alsa-lib-devel gdb-headless libtool
%description
Simple DirectMedia Layer(SDL) is a cross-platform development library designed\
@ -49,7 +49,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
for F in CREDITS; do
iconv -f iso8859-1 -t utf-8 < "$F" > "${F}.utf"
touch --reference "$F" "${F}.utf"
@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_mandir}/man3/SDL*.3*
%changelog
* Wed Aug 11 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.15-38
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Sep 11 2020 liuweibo <liuweibo10@huawei.com> - 1.2.15-37
- Fix Source0