!8 npth delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2021-08-12 07:30:00 +00:00 committed by Gitee
commit dda4db2564

View File

@ -1,12 +1,12 @@
Name: npth Name: npth
Version: 1.6 Version: 1.6
Release: 2 Release: 3
Summary: The New GNU Portable Threads library Summary: The New GNU Portable Threads library
License: LGPLv2+ License: LGPLv2+
URL: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git URL: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git
Source: https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2 Source: https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2
BuildRequires: make gcc git BuildRequires: make gcc
%description %description
The NPth package contains a very portable POSIX/ANSI-C based The NPth package contains a very portable POSIX/ANSI-C based
@ -28,7 +28,7 @@ This package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
%build %build
%configure --disable-static %configure --disable-static
@ -57,6 +57,9 @@ make check
%{_datadir}/aclocal/%{name}.m4 %{_datadir}/aclocal/%{name}.m4
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.6-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon Sep 28 2020 EulerOSWander <314264452@qq.com> - 1.6-2 * Mon Sep 28 2020 EulerOSWander <314264452@qq.com> - 1.6-2
- Use cast by uintptr_t for thread ID. - Use cast by uintptr_t for thread ID.