delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:09:22 +08:00
parent 6a787d3eca
commit f25028c1a9
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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.