delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:12:39 +08:00
parent ab7bfedca0
commit b695c5c5fe
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: os-prober
Version: 1.77
Release: 2
Release: 3
Summary: Probe disks on the system for other operating systems
License: GPLv2+ and GPL+
URL: http://kitenet.net/~joey/code/os-prober/
@ -14,7 +14,7 @@ Patch4: os-prober-grub2-parsefix.patch
Patch5: os-prober-grepfix.patch
Patch6: os-prober-gentoo-fix.patch
BuildRequires: gcc git
BuildRequires: gcc
Requires: udev coreutils util-linux grep /bin/sed /sbin/modprobe grub2-tools-minimal
%description
@ -23,7 +23,7 @@ and add them to the boot loader, so that installing current OS doesn't
make your other installed OS hard to boot.
%prep
%autosetup -n %{name}-%{version} -Sgit
%autosetup -n %{name}-%{version} -p1
find -type f -exec sed -i -e 's|usr/lib|usr/libexec|g' {} \;
sed -i -e 's|grub-probe|grub2-probe|g' os-probes/common/50mounted-tests \
linux-boot-probes/common/50mounted-tests
@ -84,6 +84,9 @@ fi
%{_libexecdir}/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.77-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed May 26 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 1.77-2
- Remove code using device mapper