Assure that the build is compliant with RHEL security rules
Add the %{optflags} and %{build_ldflags} macros to get the standard build flags to meet RHEL requirements. Bump the nvr to 1.10.2-3. Resolves: rhbz#1922002
This commit is contained in:
parent
973429b029
commit
152d9753e1
10
tboot.spec
10
tboot.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Performs a verified launch using Intel TXT
|
Summary: Performs a verified launch using Intel TXT
|
||||||
Name: tboot
|
Name: tboot
|
||||||
Version: 1.10.2
|
Version: 1.10.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -27,7 +27,8 @@ and verified launch of an OS kernel/VMM.
|
|||||||
%autosetup -p1 -n %{name}-%{version}
|
%autosetup -p1 -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
|
CFLAGS="%{optflags}"; export CFLAGS
|
||||||
|
LDFLAGS="%{build_ldflags}"; export LDFLAGS
|
||||||
make debug=y %{?_smp_mflags}
|
make debug=y %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -57,6 +58,11 @@ make debug=y DISTDIR=$RPM_BUILD_ROOT install
|
|||||||
/boot/tboot-syms
|
/boot/tboot-syms
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 27 2021 Tony Camuso <tcamuso@redhat.com> - 1:1.10.2-3
|
||||||
|
- Add the %{optflags} and %{build_ldflags} macros to assure the
|
||||||
|
build meets RHEL security requirements.
|
||||||
|
Resolves: rhbz#1922002
|
||||||
|
|
||||||
* Thu Jul 22 2021 Tony Camuso <tcamuso@redhat.com> - 1:1.10.2-2
|
* Thu Jul 22 2021 Tony Camuso <tcamuso@redhat.com> - 1:1.10.2-2
|
||||||
- Bump the NVR as a result of including the gating.yaml file in
|
- Bump the NVR as a result of including the gating.yaml file in
|
||||||
the git repo.
|
the git repo.
|
||||||
|
Loading…
Reference in New Issue
Block a user