2014-06-04 22:42:43 +00:00
|
|
|
%if 0%{?fedora}
|
2013-09-01 22:04:53 +00:00
|
|
|
%global with_python3 1
|
|
|
|
%endif
|
|
|
|
|
2014-08-08 09:12:32 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
|
%global with_systemd 1
|
|
|
|
%endif
|
|
|
|
|
2014-08-13 23:37:00 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
2015-02-16 15:24:08 +00:00
|
|
|
%ifarch %{ix86} x86_64 %{arm} aarch64
|
2014-08-08 09:12:32 +00:00
|
|
|
%global with_seccomp 1
|
|
|
|
%endif
|
2014-08-13 23:37:00 +00:00
|
|
|
%endif
|
2014-08-08 09:12:32 +00:00
|
|
|
|
2015-02-08 11:22:19 +00:00
|
|
|
%if 0%{?fedora} >= 22
|
|
|
|
%global luaver 5.3
|
|
|
|
%else
|
|
|
|
%if 0%{?fedora} >= 20
|
2013-09-01 22:04:53 +00:00
|
|
|
%global luaver 5.2
|
|
|
|
%else
|
|
|
|
%global luaver 5.1
|
|
|
|
%endif
|
2015-02-08 11:22:19 +00:00
|
|
|
%endif
|
2013-09-01 22:04:53 +00:00
|
|
|
%global lualibdir %{_libdir}/lua/%{luaver}
|
|
|
|
%global luapkgdir %{_datadir}/lua/%{luaver}
|
|
|
|
|
2014-08-10 11:00:47 +00:00
|
|
|
# for pre-releases
|
2015-02-08 11:22:19 +00:00
|
|
|
#global prerel
|
|
|
|
%global commit 62ed104940747d135ffd71f513e51bf3d912d1d9
|
2014-08-10 11:00:47 +00:00
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
Name: lxc
|
2015-11-15 08:53:18 +00:00
|
|
|
Version: 1.1.5
|
|
|
|
Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
|
2009-07-28 07:07:50 +00:00
|
|
|
Summary: Linux Resource Containers
|
|
|
|
Group: Applications/System
|
2013-09-01 22:04:53 +00:00
|
|
|
License: LGPLv2+ and GPLv2
|
2014-06-04 22:42:43 +00:00
|
|
|
URL: http://linuxcontainers.org
|
2014-08-10 11:00:47 +00:00
|
|
|
%if 0%{?prerel:1}
|
|
|
|
Source0: https://github.com/lxc/lxc/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
|
|
%else
|
2014-06-04 22:42:43 +00:00
|
|
|
Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
|
2014-08-10 11:00:47 +00:00
|
|
|
%endif
|
2015-02-08 11:22:19 +00:00
|
|
|
Patch0: lxc-1.1.0-fix-init.patch
|
2015-10-21 14:57:13 +00:00
|
|
|
Patch1: lxc-1.1.4-fix-bootorder.patch
|
2009-07-28 07:07:50 +00:00
|
|
|
BuildRequires: docbook-utils
|
2015-02-10 18:17:05 +00:00
|
|
|
BuildRequires: docbook2X
|
|
|
|
BuildRequires: doxygen
|
2009-07-28 07:07:50 +00:00
|
|
|
BuildRequires: kernel-headers
|
2014-08-08 09:12:32 +00:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
%if 0%{?with_seccomp}
|
|
|
|
BuildRequires: libseccomp-devel
|
|
|
|
%endif # with_seccomp
|
2009-07-28 07:07:50 +00:00
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libtool
|
2014-06-04 22:42:43 +00:00
|
|
|
BuildRequires: lua-devel
|
2013-09-01 22:04:53 +00:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
BuildRequires: python3-devel >= 3.2
|
2014-08-08 09:12:32 +00:00
|
|
|
%endif # with_python3
|
|
|
|
%if 0%{?with_systemd}
|
2014-06-04 22:42:43 +00:00
|
|
|
BuildRequires: systemd
|
2014-08-08 09:12:32 +00:00
|
|
|
%endif # with_systemd
|
2015-10-01 14:03:05 +00:00
|
|
|
#if 0%{?prerel:1}
|
2015-10-17 17:51:08 +00:00
|
|
|
#BuildRequires: autoconf automake
|
2015-10-01 14:03:05 +00:00
|
|
|
#endif
|
2013-09-01 22:04:53 +00:00
|
|
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
2009-07-28 07:07:50 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Runtime library files for %{name}
|
|
|
|
Group: System Environment/Libraries
|
2015-03-17 10:22:06 +00:00
|
|
|
# rsync is called in bdev.c, e.g. by lxc-clone
|
|
|
|
Requires: rsync
|
2014-08-08 09:12:32 +00:00
|
|
|
%if 0%{?with_systemd}
|
2014-06-04 22:42:43 +00:00
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
2014-08-08 09:12:32 +00:00
|
|
|
%else
|
|
|
|
Requires(post): chkconfig
|
|
|
|
Requires(preun): initscripts, chkconfig
|
|
|
|
Requires(postun): initscripts
|
|
|
|
%endif # with_systemd
|
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
|
|
|
|
%description libs
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
|
|
|
The %{name}-libs package contains libraries for running %{name} applications.
|
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2013-09-01 22:04:53 +00:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
%package -n python3-%{name}
|
|
|
|
Summary: Python binding for %{name}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
|
|
|
The python3-%{name} package contains the Python3 binding for %{name}.
|
|
|
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}_lxc\\..*\\.so
|
|
|
|
|
|
|
|
|
|
|
|
%package extra
|
|
|
|
Summary: Extra tools for %{name}
|
|
|
|
Group: Applications/System
|
|
|
|
Requires: python3-%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description extra
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
|
|
|
This package contains tools needing the Python3 bindings.
|
2014-08-08 09:12:32 +00:00
|
|
|
%endif # with_python3
|
2013-09-01 22:04:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package -n lua-%{name}
|
|
|
|
Summary: Lua binding for %{name}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: lua-filesystem
|
|
|
|
|
|
|
|
%description -n lua-%{name}
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
|
|
|
The lua-%{name} package contains the Lua binding for %{name}.
|
|
|
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}core\\.so\\.0
|
|
|
|
|
|
|
|
|
2011-03-28 03:00:01 +00:00
|
|
|
%package templates
|
|
|
|
Summary: Templates for %{name}
|
|
|
|
Group: System Environment/Libraries
|
2013-09-01 22:04:53 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2014-08-08 09:12:32 +00:00
|
|
|
# Note: Requirements for the template scripts (busybox, dpkg,
|
|
|
|
# debootstrap, rsync, openssh-server, dhclient, apt, pacman, zypper,
|
|
|
|
# ubuntu-cloudimg-query etc...) are not explicitly mentioned here:
|
|
|
|
# their presence varies wildly on supported Fedora/EPEL releases and
|
|
|
|
# archs, and they are in most cases needed for a single template
|
|
|
|
# only. Also, the templates normally fail graciously when such a tool
|
|
|
|
# is missing. Moving each template to its own subpackage on the other
|
|
|
|
# hand would be overkill.
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2011-03-28 03:00:01 +00:00
|
|
|
|
|
|
|
%description templates
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
2013-09-01 22:04:53 +00:00
|
|
|
The %{name}-templates package contains templates for creating containers.
|
2011-03-28 03:00:01 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
2013-09-01 22:04:53 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2009-07-28 07:07:50 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-11-27 22:42:04 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
2013-09-01 22:04:53 +00:00
|
|
|
BuildArch: noarch
|
2009-11-27 22:42:04 +00:00
|
|
|
|
|
|
|
%description doc
|
2010-02-18 05:25:09 +00:00
|
|
|
This package contains documentation for %{name}.
|
2009-11-27 22:42:04 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%prep
|
2014-08-10 11:00:47 +00:00
|
|
|
%setup -q -n %{name}-%{?!prerel:%{version}}%{?prerel:%{commit}}
|
2014-08-08 09:12:32 +00:00
|
|
|
%patch0 -p1
|
2015-10-21 14:57:13 +00:00
|
|
|
# see rhbz#1263612
|
|
|
|
%patch1 -p1
|
2014-06-04 22:42:43 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%build
|
2014-08-10 11:00:47 +00:00
|
|
|
%if 0%{?prerel:1}
|
|
|
|
./autogen.sh
|
|
|
|
%endif
|
2013-09-01 22:04:53 +00:00
|
|
|
%configure --with-distro=fedora \
|
|
|
|
--enable-doc \
|
2014-08-08 09:12:32 +00:00
|
|
|
--enable-api-docs \
|
|
|
|
--disable-silent-rules \
|
2013-09-01 22:04:53 +00:00
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-apparmor \
|
2014-08-08 09:12:32 +00:00
|
|
|
--disable-cgmanager \
|
|
|
|
--enable-selinux \
|
|
|
|
%if 0%{?with_seccomp}
|
|
|
|
--enable-seccomp \
|
|
|
|
%endif # with_seccomp
|
2014-06-04 22:42:43 +00:00
|
|
|
--enable-lua \
|
2013-09-01 22:04:53 +00:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
--enable-python \
|
2015-02-10 18:17:05 +00:00
|
|
|
%else
|
|
|
|
--disable-python \
|
2014-08-08 09:12:32 +00:00
|
|
|
%endif # with_python3
|
|
|
|
%if 0%{?with_systemd}
|
|
|
|
--with-init-script=systemd \
|
|
|
|
%else
|
|
|
|
--with-init-script=sysvinit \
|
|
|
|
%endif # with_systemd
|
2013-09-01 22:04:53 +00:00
|
|
|
# intentionally blank line
|
2012-03-26 15:23:35 +00:00
|
|
|
make %{?_smp_mflags}
|
2009-07-28 07:07:50 +00:00
|
|
|
|
2010-07-26 17:05:45 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%install
|
2013-02-15 20:37:35 +00:00
|
|
|
%{make_install}
|
2012-03-26 15:23:35 +00:00
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
|
2013-09-01 22:04:53 +00:00
|
|
|
chmod -x %{buildroot}%{luapkgdir}/lxc.lua
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_pkgdocdir}
|
2015-03-18 08:45:16 +00:00
|
|
|
cp -a AUTHORS README %{!?_licensedir:COPYING} %{buildroot}%{_pkgdocdir}
|
2014-08-08 09:12:32 +00:00
|
|
|
mkdir -p %{buildroot}%{_pkgdocdir}/api
|
|
|
|
cp -a doc/api/html/* %{buildroot}%{_pkgdocdir}/api/
|
2011-03-28 03:00:01 +00:00
|
|
|
|
2014-06-04 22:42:43 +00:00
|
|
|
# cache dir
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}
|
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
|
2014-06-04 22:42:43 +00:00
|
|
|
%post libs
|
|
|
|
/sbin/ldconfig
|
2014-08-08 09:12:32 +00:00
|
|
|
%if 0%{?with_systemd}
|
2015-02-08 11:22:19 +00:00
|
|
|
%systemd_post %{name}-net.service
|
2014-06-04 22:42:43 +00:00
|
|
|
%systemd_post %{name}.service
|
2014-08-08 09:12:32 +00:00
|
|
|
%else
|
2015-02-08 11:22:19 +00:00
|
|
|
/sbin/chkconfig --add %{name}-net
|
2014-08-08 09:12:32 +00:00
|
|
|
/sbin/chkconfig --add %{name}
|
|
|
|
%endif # with_systemd
|
2009-07-28 07:07:50 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2014-06-04 22:42:43 +00:00
|
|
|
%preun libs
|
2014-08-08 09:12:32 +00:00
|
|
|
%if 0%{?with_systemd}
|
2015-02-08 11:22:19 +00:00
|
|
|
%systemd_preun %{name}-net.service
|
2014-06-04 22:42:43 +00:00
|
|
|
%systemd_preun %{name}.service
|
2014-08-08 09:12:32 +00:00
|
|
|
%else
|
|
|
|
if [ $1 -eq 0 ]; then
|
2015-02-08 11:22:19 +00:00
|
|
|
/sbin/service %{name}-net stop > /dev/null 2>&1
|
|
|
|
/sbin/chkconfig --del %{name}-net
|
2014-08-08 09:12:32 +00:00
|
|
|
/sbin/service %{name} stop > /dev/null 2>&1
|
|
|
|
/sbin/chkconfig --del %{name}
|
|
|
|
fi
|
|
|
|
%endif # with_systemd
|
2014-06-04 22:42:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
%postun libs
|
|
|
|
/sbin/ldconfig
|
2014-08-08 09:12:32 +00:00
|
|
|
%if 0%{?with_systemd}
|
2015-02-08 11:22:19 +00:00
|
|
|
%systemd_postun %{name}-net.service
|
2014-06-04 22:42:43 +00:00
|
|
|
%systemd_postun %{name}.service
|
2014-08-08 09:12:32 +00:00
|
|
|
%else
|
|
|
|
if [ $1 -ge 1 ]; then
|
2015-02-08 11:22:19 +00:00
|
|
|
/sbin/service %{name}-net condrestart > /dev/null 2>&1 || :
|
2014-08-08 09:12:32 +00:00
|
|
|
/sbin/service %{name} condrestart > /dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
%endif # with_systemd
|
2009-07-28 07:07:50 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%files
|
|
|
|
%{_bindir}/%{name}-*
|
2013-09-01 22:04:53 +00:00
|
|
|
%{_mandir}/man1/%{name}*
|
2014-06-04 22:42:43 +00:00
|
|
|
%{_mandir}/*/man1/%{name}*
|
2014-08-08 09:12:32 +00:00
|
|
|
# in lxc-libs:
|
|
|
|
%exclude %{_bindir}/%{name}-autostart
|
|
|
|
%exclude %{_mandir}/man1/%{name}-autostart*
|
|
|
|
%exclude %{_mandir}/*/man1/%{name}-autostart*
|
|
|
|
%exclude %{_mandir}/man1/%{name}-user-nic*
|
|
|
|
%exclude %{_mandir}/*/man1/%{name}-user-nic*
|
|
|
|
%{_datadir}/%{name}/%{name}.functions
|
2013-09-01 22:04:53 +00:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
%exclude %{_bindir}/%{name}-ls
|
|
|
|
%exclude %{_bindir}/%{name}-start-ephemeral
|
|
|
|
%exclude %{_mandir}/man1/%{name}-ls*
|
|
|
|
%exclude %{_mandir}/man1/%{name}-start-ephemeral*
|
2014-08-08 09:12:32 +00:00
|
|
|
%exclude %{_mandir}/*/man1/%{name}-ls*
|
|
|
|
%exclude %{_mandir}/*/man1/%{name}-start-ephemeral*
|
2013-09-01 22:04:53 +00:00
|
|
|
%endif
|
2014-06-04 22:42:43 +00:00
|
|
|
%dir %{_sysconfdir}/bash_completion.d/
|
|
|
|
%{_sysconfdir}/bash_completion.d/%{name}
|
2009-07-28 07:07:50 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%files libs
|
2013-09-01 22:04:53 +00:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/templates
|
2014-06-04 22:42:43 +00:00
|
|
|
%dir %{_datadir}/%{name}/config
|
2013-09-01 22:04:53 +00:00
|
|
|
%{_datadir}/%{name}/hooks
|
2014-08-08 09:12:32 +00:00
|
|
|
%{_datadir}/%{name}/%{name}-patch.py*
|
2015-02-08 11:22:19 +00:00
|
|
|
%{_datadir}/%{name}/selinux
|
2009-11-27 22:42:04 +00:00
|
|
|
%{_libdir}/liblxc.so.*
|
2013-09-01 22:04:53 +00:00
|
|
|
%{_libdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}
|
2014-06-04 22:42:43 +00:00
|
|
|
# fixme: should be in libexecdir?
|
|
|
|
%{_sbindir}/init.%{name}
|
2014-08-08 09:12:32 +00:00
|
|
|
%{_bindir}/%{name}-autostart
|
2013-09-01 22:04:53 +00:00
|
|
|
%{_sharedstatedir}/%{name}
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/default.conf
|
2015-02-08 11:22:19 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
2014-08-08 09:12:32 +00:00
|
|
|
%{_mandir}/man1/%{name}-autostart*
|
|
|
|
%{_mandir}/*/man1/%{name}-autostart*
|
|
|
|
%{_mandir}/man1/%{name}-user-nic*
|
|
|
|
%{_mandir}/*/man1/%{name}-user-nic*
|
2013-09-01 22:04:53 +00:00
|
|
|
%{_mandir}/man5/%{name}*
|
|
|
|
%{_mandir}/man7/%{name}*
|
2014-06-04 22:42:43 +00:00
|
|
|
%{_mandir}/*/man5/%{name}*
|
|
|
|
%{_mandir}/*/man7/%{name}*
|
2013-09-01 22:04:53 +00:00
|
|
|
%dir %{_pkgdocdir}
|
|
|
|
%{_pkgdocdir}/AUTHORS
|
|
|
|
%{_pkgdocdir}/README
|
2015-03-18 08:45:16 +00:00
|
|
|
%if 0%{?_licensedir:1}
|
2015-03-17 10:22:06 +00:00
|
|
|
%license COPYING
|
2015-03-18 08:45:16 +00:00
|
|
|
%else
|
|
|
|
%{_pkgdocdir}/COPYING
|
|
|
|
%endif
|
2014-08-08 09:12:32 +00:00
|
|
|
%if 0%{?with_systemd}
|
2014-06-04 22:42:43 +00:00
|
|
|
%{_unitdir}/%{name}.service
|
2015-02-08 11:22:19 +00:00
|
|
|
%{_unitdir}/%{name}-net.service
|
2014-08-08 09:12:32 +00:00
|
|
|
%else
|
|
|
|
%{_sysconfdir}/rc.d/init.d/%{name}
|
2015-02-08 11:22:19 +00:00
|
|
|
%{_sysconfdir}/rc.d/init.d/%{name}-net
|
2014-08-08 09:12:32 +00:00
|
|
|
%endif # with_systemd
|
2014-06-04 22:42:43 +00:00
|
|
|
%dir %{_localstatedir}/cache/%{name}
|
2013-09-01 22:04:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%files -n python3-%{name}
|
|
|
|
%{python3_sitearch}/*
|
|
|
|
|
|
|
|
|
|
|
|
%files extra
|
|
|
|
%{_bindir}/%{name}-ls
|
|
|
|
%{_bindir}/%{name}-start-ephemeral
|
|
|
|
%{_mandir}/man1/%{name}-ls*
|
|
|
|
%{_mandir}/man1/%{name}-start-ephemeral*
|
2014-08-08 09:12:32 +00:00
|
|
|
%{_mandir}/*/man1/%{name}-ls*
|
|
|
|
%{_mandir}/*/man1/%{name}-start-ephemeral*
|
|
|
|
%endif # with_python3
|
2013-09-01 22:04:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n lua-%{name}
|
|
|
|
%{lualibdir}/%{name}
|
|
|
|
%{luapkgdir}/%{name}.lua
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2011-03-28 03:00:01 +00:00
|
|
|
|
|
|
|
%files templates
|
2014-06-04 22:42:43 +00:00
|
|
|
%{_datadir}/%{name}/templates/lxc-*
|
|
|
|
%{_datadir}/%{name}/config/*
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
|
|
|
|
%files devel
|
2013-02-15 20:37:35 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_includedir}/lxc
|
2009-07-28 07:07:50 +00:00
|
|
|
%{_libdir}/liblxc.so
|
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-11-27 22:42:04 +00:00
|
|
|
%files doc
|
2013-09-01 22:04:53 +00:00
|
|
|
%dir %{_pkgdocdir}
|
|
|
|
# README, AUTHORS and COPYING intentionally duplicated because -doc
|
|
|
|
# can be installed on its own.
|
|
|
|
%{_pkgdocdir}/*
|
2015-03-18 08:45:16 +00:00
|
|
|
%if 0%{?_licensedir:1}
|
2015-03-17 10:22:06 +00:00
|
|
|
%license COPYING
|
2015-03-18 08:45:16 +00:00
|
|
|
%endif
|
2009-11-27 22:42:04 +00:00
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
%changelog
|
2015-11-15 08:53:18 +00:00
|
|
|
* Sun Nov 15 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.5-1
|
|
|
|
- Update to 1.1.5.
|
|
|
|
- Update patch.
|
|
|
|
|
2015-11-10 14:46:02 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-10-21 14:57:13 +00:00
|
|
|
* Wed Oct 21 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.4-2
|
|
|
|
- Add patch to fix bootorder (rhbz#1263612).
|
|
|
|
|
2015-10-17 17:51:08 +00:00
|
|
|
* Sat Oct 17 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.4-1
|
|
|
|
- Update to 1.1.4.
|
|
|
|
|
2015-10-01 14:03:05 +00:00
|
|
|
* Thu Oct 1 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.3-2
|
|
|
|
- Add security fix, see rhbz#1267844.
|
|
|
|
|
2015-08-16 12:54:39 +00:00
|
|
|
* Sat Aug 15 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.3-1
|
|
|
|
- Update to 1.1.3.
|
|
|
|
- Remove patches applied upstream.
|
|
|
|
|
2015-08-02 13:11:36 +00:00
|
|
|
* Sun Aug 2 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.2-2
|
|
|
|
- Add security fixes, see rhbz#1245939 and rhbz#1245941.
|
|
|
|
|
2015-06-17 19:14:01 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-20 16:22:05 +00:00
|
|
|
* Mon Apr 20 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.2-1
|
|
|
|
- Update to 1.1.2.
|
2015-04-23 19:01:23 +00:00
|
|
|
- Add patch to fix building of the lua bindings.
|
2015-04-20 16:22:05 +00:00
|
|
|
|
2015-03-18 08:45:16 +00:00
|
|
|
* Tue Mar 17 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.1-2
|
|
|
|
- Use %%license only where possible.
|
|
|
|
|
2015-03-17 10:22:06 +00:00
|
|
|
* Tue Mar 17 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.1-1
|
|
|
|
- Update to 1.1.1.
|
|
|
|
- Add dependency on rsync (rhbz#1177981).
|
|
|
|
- Tag COPYING with %%licence.
|
|
|
|
|
2015-02-16 15:24:08 +00:00
|
|
|
* Mon Feb 16 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.0-3
|
|
|
|
- aarch64 now has seccomp support
|
|
|
|
|
2015-02-10 18:16:03 +00:00
|
|
|
* Tue Feb 10 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.0-2
|
|
|
|
- lxc-top no longer relies on the lua bindings.
|
2015-02-10 18:16:46 +00:00
|
|
|
- lxc-device no longer relies on the python3 bindings.
|
2015-02-10 18:17:05 +00:00
|
|
|
- Spec file cleanups.
|
2015-02-10 18:16:03 +00:00
|
|
|
|
2015-02-08 11:22:19 +00:00
|
|
|
* Sun Feb 8 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.0-1
|
|
|
|
- Update to 1.1.0.
|
|
|
|
|
2014-08-30 11:04:46 +00:00
|
|
|
* Sat Aug 30 2014 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.0-0.3.alpha1
|
|
|
|
- Add missing dependency on lua-alt-getopt (rhbz#1131707).
|
|
|
|
|
2014-08-17 08:14:17 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-0.2.alpha1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-13 23:37:00 +00:00
|
|
|
* Mon Aug 11 2014 Jakub Čajka <jcajka@redhat.com> - 1.1.0-0.2.alpha1
|
|
|
|
- Fixed build dependencies on s390(x) and ppc(64(le))
|
|
|
|
|
2014-08-10 11:00:47 +00:00
|
|
|
* Sun Aug 10 2014 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.0-0.1.alpha1
|
|
|
|
- Update to 1.1.0.alpha1.
|
|
|
|
|
2014-08-08 09:12:32 +00:00
|
|
|
* Fri Aug 8 2014 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.5-2
|
|
|
|
- Include sysvinit resp. systemd support for autostart of containers.
|
|
|
|
- Do not list explicit requirements for templates.
|
|
|
|
- Add missing dependency on lxc-lua for lxc-top.
|
|
|
|
- Include apidocs.
|
|
|
|
|
2014-08-08 08:17:53 +00:00
|
|
|
* Fri Aug 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.5-1
|
|
|
|
- Update to 1.0.5
|
|
|
|
|
2014-06-07 07:29:55 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-06-04 22:42:43 +00:00
|
|
|
* Wed Jun 4 2014 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.3-1
|
|
|
|
- Update to 1.0.3.
|
|
|
|
- Remove obsolete patches.
|
|
|
|
- Add systemd support.
|
|
|
|
- Lua bindings are not optional (needed e.g. for lxc-top).
|
|
|
|
|
2014-05-28 10:13:58 +00:00
|
|
|
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.9.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2014-01-30 15:14:01 +00:00
|
|
|
* Thu Jan 30 2014 Marek Goldmann <mgoldman@redhat.com> - 0.9.0-3
|
|
|
|
- There is still no Python 3 available in EPEL 7
|
|
|
|
|
2013-09-04 16:34:14 +00:00
|
|
|
* Wed Sep 4 2013 Thomas Moschny <thomas.moschny@gmx.de> - 0.9.0-2
|
|
|
|
- Small fix to the included Fedora template.
|
|
|
|
|
2013-09-01 22:04:53 +00:00
|
|
|
* Sun Sep 1 2013 Thomas Moschny <thomas.moschny@gmx.de> - 0.9.0-1
|
|
|
|
- Update to 0.9.0.
|
|
|
|
- Make the -libs subpackage installable on its own:
|
|
|
|
- Move files needed by the libraries to the subpackage.
|
|
|
|
- Let packages depend on -libs.
|
|
|
|
- Add rsync as dependency to the templates package.
|
|
|
|
- Add (optional) subpackages for Python3 and Lua bindings.
|
|
|
|
- Add upstream patches for the Fedora template.
|
|
|
|
- Define and use the _pkgdocdir macro, also fixing rhbz#1001235.
|
|
|
|
- Update License tag.
|
|
|
|
|
2013-08-03 08:38:39 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-02 13:29:47 +00:00
|
|
|
* Sat Mar 2 2013 Thomas Moschny <thomas.moschny@gmx.de> - 0.8.0-2
|
|
|
|
- Add upstream patch fixing the release url in the Fedora template.
|
|
|
|
|
2013-02-15 20:37:35 +00:00
|
|
|
* Fri Feb 15 2013 Thomas Moschny <thomas.moschny@gmx.de> - 0.8.0-1
|
|
|
|
- Update to 0.8.0.
|
|
|
|
- Modernize spec file.
|
|
|
|
- Include more templates.
|
|
|
|
|
2013-02-14 06:06:16 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-19 22:45:36 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-26 15:23:35 +00:00
|
|
|
* Mon Mar 26 2012 Thomas Moschny <thomas.moschny@gmx.de> - 0.7.5-1
|
|
|
|
- Update to upstream 0.7.5
|
|
|
|
- No need to run autogen.sh
|
|
|
|
- Fix: kernel header asm/unistd.h was not found
|
|
|
|
- Specfile cleanups
|
|
|
|
|
2012-01-13 09:07:42 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-29 16:48:40 +00:00
|
|
|
* Wed Jul 06 2011 Adam Miller <maxamillion@fedoraproject.org> - 0.7.4.2-1
|
|
|
|
- Update to upstream 0.7.4.2
|
|
|
|
|
2011-03-28 03:00:01 +00:00
|
|
|
* Fri Mar 25 2011 Silas Sewell <silas@sewell.ch> - 0.7.4.1-1
|
|
|
|
- Update to 0.7.4.1
|
|
|
|
|
2011-02-08 14:32:36 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-26 17:05:45 +00:00
|
|
|
* Mon Jul 26 2010 Silas Sewell <silas@sewell.ch> - 0.7.2-1
|
|
|
|
- Update to 0.7.2
|
|
|
|
- Remove templates
|
|
|
|
|
|
|
|
* Tue Jul 06 2010 Silas Sewell <silas@sewell.ch> - 0.7.1-1
|
|
|
|
- Update to 0.7.1
|
|
|
|
|
2010-02-18 05:25:09 +00:00
|
|
|
* Wed Feb 17 2010 Silas Sewell <silas@sewell.ch> - 0.6.5-1
|
|
|
|
- Update to latest release
|
|
|
|
- Add /var/lib/lxc directory
|
|
|
|
- Patch for sys/stat.h
|
|
|
|
|
2009-11-27 22:42:04 +00:00
|
|
|
* Fri Nov 27 2009 Silas Sewell <silas@sewell.ch> - 0.6.4-1
|
|
|
|
- Update to latest release
|
|
|
|
- Add documentation sub-package
|
|
|
|
|
2009-07-28 07:07:50 +00:00
|
|
|
* Mon Jul 27 2009 Silas Sewell <silas@sewell.ch> - 0.6.3-2
|
2009-11-27 22:42:04 +00:00
|
|
|
- Apply patch for rawhide kernel
|
2009-07-28 07:07:50 +00:00
|
|
|
|
|
|
|
* Sat Jul 25 2009 Silas Sewell <silas@sewell.ch> - 0.6.3-1
|
2009-11-27 22:42:04 +00:00
|
|
|
- Initial package
|