|
|
@ -1,4 +1,4 @@
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
|
%global with_python3 1
|
|
|
|
%global with_python3 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -31,7 +31,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: lxc
|
|
|
|
Name: lxc
|
|
|
|
Version: 2.0.6
|
|
|
|
Version: 2.0.6
|
|
|
|
Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
|
|
|
|
Release: %{?prerel:0.}2%{?prerel:.%{prerel}}%{?dist}
|
|
|
|
Summary: Linux Resource Containers
|
|
|
|
Summary: Linux Resource Containers
|
|
|
|
Group: Applications/System
|
|
|
|
Group: Applications/System
|
|
|
|
License: LGPLv2+ and GPLv2
|
|
|
|
License: LGPLv2+ and GPLv2
|
|
|
@ -42,6 +42,7 @@ Source0: https://github.com/lxc/lxc/archive/%{commit}/%{name}-%{commit}.t
|
|
|
|
Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
|
|
|
|
Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Patch0: lxc-2.0.1-fix-init.patch
|
|
|
|
Patch0: lxc-2.0.1-fix-init.patch
|
|
|
|
|
|
|
|
Patch1: lxc-2.0.6-fix-lxc-net.patch
|
|
|
|
BuildRequires: docbook2X
|
|
|
|
BuildRequires: docbook2X
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: kernel-headers
|
|
|
|
BuildRequires: kernel-headers
|
|
|
@ -100,15 +101,15 @@ The %{name}-libs package contains libraries for running %{name} applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%package -n python3-%{name}
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}
|
|
|
|
Summary: Python binding for %{name}
|
|
|
|
Summary: Python binding for %{name}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
%description -n python%{python3_pkgversion}-%{name}
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
|
|
|
|
|
|
|
The python3-%{name} package contains the Python3 binding for %{name}.
|
|
|
|
The python%{python3_pkgversion}-%{name} package contains the Python3 binding for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}_lxc\\..*\\.so
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}_lxc\\..*\\.so
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
@ -175,6 +176,7 @@ This package contains documentation for %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{?!prerel:%{version}}%{?prerel:%{commit}}
|
|
|
|
%setup -q -n %{name}-%{?!prerel:%{version}}%{?prerel:%{commit}}
|
|
|
|
%patch0 -p1
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -342,7 +344,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%files -n python3-%{name}
|
|
|
|
%files -n python%{python3_pkgversion}-%{name}
|
|
|
|
%{python3_sitearch}/*
|
|
|
|
%{python3_sitearch}/*
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
@ -374,6 +376,10 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Dec 4 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.6-2
|
|
|
|
|
|
|
|
- Enable python3 on epel7 builds.
|
|
|
|
|
|
|
|
- Fix dependency on network-online.target for lxc-net.service.
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Dec 3 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.6-1
|
|
|
|
* Sat Dec 3 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.6-1
|
|
|
|
- Update to 2.0.6.
|
|
|
|
- Update to 2.0.6.
|
|
|
|
|
|
|
|
|
|
|
|