delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:06:11 +08:00
parent fab328b0bd
commit 8e8800248f
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: luksmeta
Version: 9
Release: 4
Release: 5
Summary: LUKSMeta is a simple library for storing metadata in the LUKSv1 header
License: LGPLv2+
URL: https://github.com/latchset/%{name}
@ -11,7 +11,7 @@ Patch2: 0002-Force-creation-of-LUKS1-containers-in-test-suite.patch
Patch3: 0003-Define-log-callback-function-to-use-with-libcryptset.patch
BuildRequires: gcc asciidoc pkgconfig
BuildRequires: cryptsetup-devel git
BuildRequires: cryptsetup-devel
Provides: lib%{name}
Obsoletes: lib%{name}
@ -41,7 +41,7 @@ Requires: man info
Man pages and other related documents for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
%configure
@ -72,6 +72,9 @@ make %{?_smp_mflags} check
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 9-5
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon Jul 13 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 9-4
- backport upstream bugfix patches