diff --git a/busybox.spec b/busybox.spec index 520d74b46d99a6c1de92fd98a004907838b835f0..754de41f9907983b179d7686f1b3b13a300e82ec 100644 --- a/busybox.spec +++ b/busybox.spec @@ -4,7 +4,7 @@ %endif %if "%{!?RELEASE:1}" -%define RELEASE 8 +%define RELEASE 9 %endif Name: busybox @@ -26,7 +26,7 @@ Patch6002: backport-CVE-2021-28831.patch BuildRoot: %_topdir/BUILDROOT #Dependency -BuildRequires: gcc glibc-static git +BuildRequires: gcc glibc-static BuildRequires: libselinux-devel >= 1.27.7-2 BuildRequires: libsepol-devel libselinux-static libsepol-static @@ -55,7 +55,7 @@ This package contains help documentation for busybox %prep # auto apply all needed patch with git -%autosetup -n %{name}-%{version} -p1 -Sgit -v +%autosetup -n %{name}-%{version} -p1 -v %build export CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-Wl,-z,now" @@ -98,6 +98,9 @@ install -m 644 docs/busybox.dynamic.1 $RPM_BUILD_ROOT/%{_mandir}/man1/busybox.1 %{_mandir}/man1/busybox.petitboot.1.gz %changelog +* Fri Jul 30 2021 chenyanpanHW - 1.31.1-9 +- DESC: delete -Sgit from %autosetup, and delete BuildRequires git + * Fri Apr 30 2021 caihaomin - 1:1.31.1-8 - Type:CVE - CVE:CVE-2021-28831