!6 luksmeta delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2021-07-31 01:34:47 +00:00 committed by Gitee
commit 9bca06fd38

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