Accepting request 692669 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/692669
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=20
This commit is contained in:
Aleksa Sarai 2019-04-09 16:48:21 +00:00 committed by Git OBS Bridge
parent 36b5c7c1ec
commit ced374fdc4

View File

@ -16,8 +16,8 @@
#
%if 0%{suse_version} < 1500
# On pre-15 SLE versions, _sharedstatedir was /usr/com -- which is just wrong.
%if 0%{suse_version} < 1500
%define _sharedstatedir /var/lib
%endif