delete -Sgit from %autosetup, and delete BuildRequires git
This commit is contained in:
parent
ab7bfedca0
commit
b695c5c5fe
@ -1,6 +1,6 @@
|
|||||||
Name: os-prober
|
Name: os-prober
|
||||||
Version: 1.77
|
Version: 1.77
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Probe disks on the system for other operating systems
|
Summary: Probe disks on the system for other operating systems
|
||||||
License: GPLv2+ and GPL+
|
License: GPLv2+ and GPL+
|
||||||
URL: http://kitenet.net/~joey/code/os-prober/
|
URL: http://kitenet.net/~joey/code/os-prober/
|
||||||
@ -14,7 +14,7 @@ Patch4: os-prober-grub2-parsefix.patch
|
|||||||
Patch5: os-prober-grepfix.patch
|
Patch5: os-prober-grepfix.patch
|
||||||
Patch6: os-prober-gentoo-fix.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
|
Requires: udev coreutils util-linux grep /bin/sed /sbin/modprobe grub2-tools-minimal
|
||||||
|
|
||||||
%description
|
%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.
|
make your other installed OS hard to boot.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -Sgit
|
%autosetup -n %{name}-%{version} -p1
|
||||||
find -type f -exec sed -i -e 's|usr/lib|usr/libexec|g' {} \;
|
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 \
|
sed -i -e 's|grub-probe|grub2-probe|g' os-probes/common/50mounted-tests \
|
||||||
linux-boot-probes/common/50mounted-tests
|
linux-boot-probes/common/50mounted-tests
|
||||||
@ -84,6 +84,9 @@ fi
|
|||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 26 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 1.77-2
|
||||||
- Remove code using device mapper
|
- Remove code using device mapper
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user