Fix inheritance of environment build flags

Resolves: #2144572
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
Robbie Harwood 2023-02-27 14:24:19 +00:00
parent 48e9eeadfd
commit 7792f4ce6b
3 changed files with 12 additions and 15 deletions

View File

@ -1,6 +1,6 @@
Name: os-prober
Version: 1.77
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Probes disks on the system for installed operating systems
# For more information about licensing, see copyright file.
@ -45,7 +45,7 @@ sed -i -e 's|grub-mount|grub2-mount|g' os-probes/common/50mounted-tests \
%build
%set_build_flags
%make_build LDFLAGS="$LDFLAGS -fPIC"
%make_build LDFLAGS="$LDFLAGS -fPIC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS"
%install
install -m 0755 -d %{buildroot}%{_bindir}
@ -90,6 +90,10 @@ fi
%{_var}/lib/%{name}
%changelog
* Mon Feb 27 2023 Robbie Harwood <rharwood@redhat.com> - 1.77-10
- Fix inheritance of environment build flags
- Resolves: #2144572
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.77-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

6
rpminspect.dson Normal file
View File

@ -0,0 +1,6 @@
such inspections is such "javabytecode" is "off".
"changedfiles" is "off",
"filesize" is "off"?
"patches" is "off"!
"upstream" is off",
"annocheck" is "off" wow wow

View File

@ -1,13 +0,0 @@
---
inspections:
# Not a Java package
javabytecode: off
# These just flag when things change "too much"
changedfiles: off
filesize: off
patches: off
upstream: off
# https://bugzilla.redhat.com/show_bug.cgi?id=2010936
annocheck: off