Add "%{optflags}" for %build
This commit is contained in:
parent
ab7bfedca0
commit
b89d94d90f
@ -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/
|
||||||
@ -31,7 +31,7 @@ sed -i -e 's|grub-mount|grub2-mount|g' os-probes/common/50mounted-tests \
|
|||||||
linux-boot-probes/common/50mounted-tests common.sh
|
linux-boot-probes/common/50mounted-tests common.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build
|
%make_build CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d $RPM_BUILD_ROOT%{_bindir}
|
install -m 0755 -d $RPM_BUILD_ROOT%{_bindir}
|
||||||
@ -84,6 +84,9 @@ fi
|
|||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 4 2021 zoulin<zoulin13@huawei.com> - 1.77-3
|
||||||
|
- Add "%%{optflags}" for %build
|
||||||
|
|
||||||
* 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