diff --git a/lxcfs.changes b/lxcfs.changes index 6b3a30b..734d890 100644 --- a/lxcfs.changes +++ b/lxcfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Sep 25 17:00:54 UTC 2022 - Johannes Kastl + +- fix build by using FORTIFY_SOURCE=2 +- fix Supplements syntax + ------------------------------------------------------------------- Tue Feb 22 08:02:32 UTC 2022 - Johannes Kastl diff --git a/lxcfs.spec b/lxcfs.spec index ebd4dce..7cf1168 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -51,7 +51,11 @@ LXC but is usable by any runtime. Summary: LXC hooks for %{name} Group: System/Management Requires: %{name} = %{version} +%if 0%{?sle_version} < 150000 Supplements: packageand(%{name}:liblxc1) +%else +Supplements: (%{name} and liblxc1) +%endif BuildArch: noarch %description hooks-lxc @@ -63,6 +67,7 @@ with LXC for all containers. %build autoreconf -vif +export CPPFLAGS="-D_FORTIFY_SOURCE=2" %configure --with-distro=opensuse make %{?_smp_mflags}