!18 cryptsetup delete -S git 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 02:35:28 +00:00 committed by Gitee
commit 56273f8a4d

View File

@ -1,6 +1,6 @@
Name: cryptsetup Name: cryptsetup
Version: 2.3.3 Version: 2.3.3
Release: 4 Release: 5
Summary: Utility used to conveniently set up disk encryption Summary: Utility used to conveniently set up disk encryption
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: https://gitlab.com/cryptsetup/cryptsetup URL: https://gitlab.com/cryptsetup/cryptsetup
@ -12,7 +12,7 @@ Patch3: 0003-Check-segment-gaps-regardless-of-heap-space.patch
Patch4: 0004-Fix-posible-buffer-overflows-in-LUKS-conversion.patch Patch4: 0004-Fix-posible-buffer-overflows-in-LUKS-conversion.patch
Patch5: 0005-Fix-a-memleak-in-blockwise-test.patch Patch5: 0005-Fix-a-memleak-in-blockwise-test.patch
BuildRequires: openssl-devel, popt-devel, device-mapper-devel, git, gcc BuildRequires: openssl-devel, popt-devel, device-mapper-devel, gcc
BuildRequires: libuuid-devel, json-c-devel, libargon2-devel, libpwquality-devel, libblkid-devel BuildRequires: libuuid-devel, json-c-devel, libargon2-devel, libpwquality-devel, libblkid-devel
Requires: libpwquality >= 1.2.0 Requires: libpwquality >= 1.2.0
@ -67,7 +67,7 @@ Requires: man
This contains man files for the using of cryptsetup. This contains man files for the using of cryptsetup.
%prep %prep
%autosetup -n %{name}-%{version} -p1 -S git %autosetup -n %{name}-%{version} -p1
%build %build
%configure --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl %configure --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl
@ -113,6 +113,9 @@ make check
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.3.3-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jun 29 2021 yanglongkang <yanglongkang@huawei.com> - 2.3.3-4 * Tue Jun 29 2021 yanglongkang <yanglongkang@huawei.com> - 2.3.3-4
- add buildrequire gcc - add buildrequire gcc