delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:03:25 +08:00
parent 1e86d25454
commit e722e852fb
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,13 +1,13 @@
Name: libtiff
Version: 4.2.0
Release: 1
Release: 2
Summary: TIFF Library and Utilities
License: libtiff
URL: https://www.simplesystems.org/libtiff/
Source0: https://download.osgeo.org/libtiff/tiff-%{version}.tar.gz
BuildRequires: gcc gcc-c++ zlib-devel libjpeg-devel jbigkit-devel
BuildRequires: libtool automake autoconf pkgconfig git
BuildRequires: libtool automake autoconf pkgconfig
Provides: %{name}-tools
Obsoletes: %{name}-tools
@ -32,7 +32,7 @@ which will manipulate TIFF format image files using the libtiff library.
%package_help
%prep
%autosetup -n tiff-%{version} -p1 -S git
%autosetup -n tiff-%{version} -p1
libtoolize --force --copy
aclocal -I . -I m4
@ -111,6 +111,9 @@ find html -name 'Makefile*' | xargs rm
%exclude %{_datadir}/html/man/tiffgt.1.html
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.2.0-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jan 27 2021 hanhui <hanhui15@huawei.com> - 4.2.0-1
- Type: enhancement
- ID: NA