Accepting request 1005906 from home:ojkastl_buildservice:branches:Virtualization:containers
fix build by using FORTIFY_SOURCE=2 OBS-URL: https://build.opensuse.org/request/show/1005906 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=42
This commit is contained in:
parent
7ed1ca218c
commit
5461c2406d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 25 17:00:54 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- fix build by using FORTIFY_SOURCE=2
|
||||
- fix Supplements syntax
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 08:02:32 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user