crun-1.19-2.el9

- Add missing CFLAGS and LDFLAGS for annocheck/hardening
- Related: RHEL-60277

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2024-12-11 08:51:56 +01:00
parent e56c04ef16
commit 5b5f008e39

View File

@ -43,7 +43,7 @@ Epoch: 102
# copr and koji builds.
# If you're reading this on dist-git, the version is automatically filled in by Packit.
Version: 1.19
Release: 1%{?dist}
Release: 2%{?dist}
URL: https://github.com/containers/%{name}
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.zst
License: GPL-2.0-only
@ -113,6 +113,8 @@ Recommends: wasmedge
%autosetup -Sgit -n %{name}-%{version}
%build
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
export LDFLAGS="%{build_ldflags}"
./autogen.sh
./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %{yajl_opts}
%make_build
@ -140,6 +142,10 @@ rm -rf %{buildroot}%{_prefix}/lib*
%endif
%changelog
* Wed Dec 11 2024 Jindrich Novy <jnovy@redhat.com> - 1.19-2
- Add missing CFLAGS and LDFLAGS for annocheck/hardening
- Related: RHEL-60277
* Mon Dec 09 2024 Jindrich Novy <jnovy@redhat.com> - 1.19-1
- update to https://github.com/containers/crun/releases/tag/1.19
- Related: RHEL-60277