!47 dracut delete -S git_am from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-08-12 10:23:29 +00:00 committed by Gitee
commit 55a33c94d9

View File

@ -9,7 +9,7 @@
Name: dracut
Version: 055
Release: 1
Release: 2
Summary: Initramfs generator using udev
@ -33,7 +33,6 @@ Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
Source2: openEuler.conf.example
BuildRequires: bash
BuildRequires: git
BuildRequires: kmod-devel >= 23
BuildRequires: gcc
@ -186,7 +185,7 @@ in a squashfs image, result in a smaller initramfs size and reduce runtime memor
usage.
%prep
%autosetup -n %{name}-%{version} -S git_am
%autosetup -n %{name}-%{version} -p1
cp %{SOURCE1} .
cp %{SOURCE2} %_builddir/dracut-%{version}/dracut.conf.d/
%build
@ -497,6 +496,9 @@ echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/
%endif
%changelog
* Wed Aug 11 2021 chenyanpanHW <chenyanpan@huawei.com> - 055-2
- DESC: delete -S git_am from %autosetup, and delete BuildRequires git
* Fri Aug 6 2021 panxiaohe <panxiaohe@huawei.com> - 055-1
- Update to 055