Accepting request 689420 from home:cyphar:lxc

- Add workaround for pre-15 distros, where _sharedstatedir was inexplicably
  /usr/com, to use the correct directory of /var/lib.

OBS-URL: https://build.opensuse.org/request/show/689420
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=18
This commit is contained in:
2019-03-28 16:59:24 +00:00
committed by Git OBS Bridge
parent 2edede3c57
commit 8b240de840
2 changed files with 7 additions and 0 deletions

View File

@@ -16,6 +16,11 @@
#
%if 0%{suse_version} < 1500
# On pre-15 SLE versions, _sharedstatedir was /usr/com -- which is just wrong.
%define _sharedstatedir /var/lib
%endif
Name: lxcfs
Version: 3.0.3
Release: 0