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:
Aleksa Sarai 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

@ -4,6 +4,8 @@ Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai <asarai@suse.com>
- Update to version 3.0.3. The changelog is fairly significant from 2.x, but
the main difference is tha the PAM module has been moved to the LXC project,
and is no longer hosted in lxcfs.
- Add workaround for pre-15 distros, where _sharedstatedir was inexplicably
/usr/com, to use the correct directory of /var/lib.
-------------------------------------------------------------------
Tue Mar 26 00:09:22 UTC 2019 - Aleksa Sarai <asarai@suse.com>

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