!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
Version: 1.6
Release: 2
Release: 3
Summary: The New GNU Portable Threads library
License: LGPLv2+
URL: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git
Source: https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2
BuildRequires: make gcc git
BuildRequires: make gcc
%description
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}.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static
@ -57,6 +57,9 @@ make check
%{_datadir}/aclocal/%{name}.m4
%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
- Use cast by uintptr_t for thread ID.