diff --git a/lxcfs.changes b/lxcfs.changes index f9259b9..5b77d3a 100644 --- a/lxcfs.changes +++ b/lxcfs.changes @@ -4,6 +4,8 @@ Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai - 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 diff --git a/lxcfs.spec b/lxcfs.spec index 4852289..36c7ad7 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -16,6 +16,11 @@ # +# On pre-15 SLE versions, _sharedstatedir was /usr/com -- which is just wrong. +%if 0%{suse_version} < 1500 +%define _sharedstatedir /var/lib +%endif + Name: lxcfs Version: 3.0.3 Release: 0