DESC: delete -Sgit form %autosetup, and delete BuildRequires git

Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
(cherry picked from commit dff330a412d5df4810a766fc2b49796982b42efd)
This commit is contained in:
zhanchengbin 2022-10-13 10:07:50 +08:00 committed by openeuler-sync-bot
parent 7c283948c4
commit b4b323e0dc

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 Dec 14 2020 yanglongkang <yanglongkang@huawei.com> - 9-4
- backport upstream bugfix patches