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:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user