delete -Sgit from %autosetup

This commit is contained in:
chenyanpanHW 2021-07-30 23:03:12 +08:00
parent 8b6cc1e3eb
commit a316a3b095
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: libtheora Name: libtheora
Version: 1.1.1 Version: 1.1.1
Release: 25 Release: 26
Summary: Theora Video Compression Summary: Theora Video Compression
License: BSD License: BSD
Epoch: 1 Epoch: 1
@ -59,7 +59,7 @@ use with theora bitstreams.
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
cp /usr/lib/rpm/config.* . cp /usr/lib/rpm/config.* .
@ -104,6 +104,9 @@ install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.1.1-26
- DESC: delete -Sgit from %autosetup
* Wed Jun 23 2021 wuchaochao <wuchaochao4@huawei.com> - 1:1.1.1-25 * Wed Jun 23 2021 wuchaochao <wuchaochao4@huawei.com> - 1:1.1.1-25
- add buildrequires: perl-Git - add buildrequires: perl-Git