[lxc] Small fix to the included Fedora template.

Thomas Moschny thm at fedoraproject.org
Wed Sep 4 16:35:46 UTC 2013


commit 3864361ea2732bfcf24d99bdbe9a781229a19287
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Wed Sep 4 18:34:14 2013 +0200

    Small fix to the included Fedora template.

 lxc-0.9.0-fedora-template.patch |    4 ++--
 lxc.spec                        |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/lxc-0.9.0-fedora-template.patch b/lxc-0.9.0-fedora-template.patch
index 48eff32..aa23da2 100644
--- a/lxc-0.9.0-fedora-template.patch
+++ b/lxc-0.9.0-fedora-template.patch
@@ -1,5 +1,5 @@
 diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
-index 684bb9c..841af16 100644
+index 684bb9c..922563d 100644
 --- a/templates/lxc-fedora.in
 +++ b/templates/lxc-fedora.in
 @@ -26,18 +26,69 @@
@@ -47,7 +47,7 @@ index 684bb9c..841af16 100644
  
 -if [ "$arch" = "i686" ]; then
 -    arch=i386
-+if [ ${CPE_NAME} != "" -a ${ID} = "fedora" -a ${VERSION_ID} != "" ]
++if [ "${CPE_NAME}" != "" -a "${ID}" = "fedora" -a "${VERSION_ID}" != "" ]
 +then
 +    fedora_host_ver=${VERSION_ID}
 +    is_fedora=true
diff --git a/lxc.spec b/lxc.spec
index 060a725..ba127f4 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -13,7 +13,7 @@
 
 Name:           lxc
 Version:        0.9.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Linux Resource Containers
 Group:          Applications/System
 License:        LGPLv2+ and GPLv2
@@ -267,6 +267,9 @@ make check
 
 
 %changelog
+* Wed Sep  4 2013 Thomas Moschny <thomas.moschny at gmx.de> - 0.9.0-2
+- Small fix to the included Fedora template.
+
 * Sun Sep  1 2013 Thomas Moschny <thomas.moschny at gmx.de> - 0.9.0-1
 - Update to 0.9.0.
 - Make the -libs subpackage installable on its own:


More information about the scm-commits mailing list