Hello community, here is the log from the commit of package lxc for openSUSE:Factory checked in at 2014-01-15 19:35:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxc (Old) and /work/SRC/openSUSE:Factory/.lxc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxc" Changes: -------- --- /work/SRC/openSUSE:Factory/lxc/lxc.changes 2014-01-13 17:20:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lxc.new/lxc.changes 2014-01-15 19:35:54.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Jan 14 14:27:10 UTC 2014 - [email protected] + +- update to lxc-1.0 beta + * we use a later snapshot than beta1 +- drop support for older distros than 12.3 (it does not build there) +- config_ipv6-run-inet_pton-on-the-addr-value-without-.patch: Removed +- configure-find-seccomp-using-pkg-config.patch: Removed +- configure-support-suse-s-docbook-to-man.patch: Removed +- lxc-opensuse-add-perl-base-to-prerequisities.patch: Removed +- opensuse-systemd-shutdown.patch: Removed + +------------------------------------------------------------------- Old: ---- config_ipv6-run-inet_pton-on-the-addr-value-without-.patch configure-find-seccomp-using-pkg-config.patch configure-support-suse-s-docbook-to-man.patch lxc-0.9.0.tar.gz lxc-opensuse-add-perl-base-to-prerequisities.patch opensuse-systemd-shutdown.patch New: ---- lxc-1.0.0.beta1.93.gfad967669817.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxc.spec ++++++ --- /var/tmp/diff_new_pack.c8MoWG/_old 2014-01-15 19:35:56.000000000 +0100 +++ /var/tmp/diff_new_pack.c8MoWG/_new 2014-01-15 19:35:56.000000000 +0100 @@ -18,23 +18,17 @@ Name: lxc -Version: 0.9.0 +Version: 1.0.0.beta1.93.gfad967669817 Release: 0 -Url: http://lxc.sourceforge.net/ -Summary: Linux containers implementation +Url: http://linuxcontainers.org/ +Summary: Userspace tools for the Linux kernel containers License: LGPL-2.1+ Group: System/Management -Source: http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.xz Source1: README.SUSE Source2: lxc-createconfig.in -#see autogenned.patch for these two: -Source3: configure-support-suse-s-docbook-to-man.patch -Source4: configure-find-seccomp-using-pkg-config.patch Patch0: autogenned.patch -Patch1: opensuse-systemd-shutdown.patch -Patch2: lxc-opensuse-add-perl-base-to-prerequisities.patch -Patch3: config_ipv6-run-inet_pton-on-the-addr-value-without-.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,23 +37,18 @@ BuildRequires: libapparmor-devel BuildRequires: libcap-devel %ifarch %ix86 x86_64 -%if 0%{?suse_version} >= 1230 BuildRequires: libseccomp-devel %endif -%endif BuildRequires: libxslt +BuildRequires: linux-glibc-devel BuildRequires: lsb-release +BuildRequires: lua-devel BuildRequires: pkg-config -%if 0%{?suse_version} >= 1130 -BuildRequires: linux-glibc-devel -%else -BuildRequires: linux-kernel-headers -%endif +BuildRequires: python3-devel +BuildRequires: systemd Requires: /sbin/setcap Requires: rsync -%if 0%{?suse_version} < 1230 -Requires(post): aaa_base -%endif +%{?systemd_requires} # needed to create openSUSE containers using template Recommends: build @@ -85,12 +74,10 @@ %prep %setup -q %patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 %build -%configure --disable-examples +chmod 755 configure +%configure --disable-examples --with-init-script=systemd %__make %{?_smp_mflags} %__cp %{SOURCE1} . %__rm -rf .doc @@ -101,6 +88,7 @@ %makeinstall install -d -m 755 %{buildroot}/var/lib/lxc find %buildroot -type f -name '*.la' -delete +chmod u-s %{buildroot}/%{_bindir}/lxc-user-nic ./config.status --file=%{buildroot}%{_bindir}/lxc-createconfig:%{S:2} chmod a+x %{buildroot}%{_bindir}/lxc-createconfig @@ -108,20 +96,19 @@ %clean %__rm -rf %buildroot +%pre +%service_add_pre lxc.service + %post /sbin/ldconfig -%if 0%{?suse_version} < 1230 -if [ -x /etc/init.d/boot.cgroup ]; then -%fillup_and_insserv -f -Y boot.cgroup -/etc/init.d/boot.cgroup start 2>/dev/null >/dev/null || : -fi -%endif +%service_add_post lxc.service + +%preun +%service_del_preun lxc.service %postun /sbin/ldconfig -%if 0%{?suse_version} < 1230 -%insserv_cleanup -%endif +%service_del_postun lxc.service %files %defattr(-,root,root) @@ -133,10 +120,16 @@ %{_libdir}/lib%{name}.so.* %{_libexecdir}/%name %{_libdir}/%name +%dir %{_libdir}/lua/%name/ +%{_libdir}/lua/%name/core.so %{_datadir}/%name +%{_datadir}/lua/%name.lua %dir /var/lib/lxc %{_bindir}/%{name}-* %{_mandir}/man[^3]/* +%_unitdir/%{name}.service +%python3_sitearch/%{name}/ +%python3_sitearch/_%{name}* %files devel %defattr(-,root,root) ++++++ README.SUSE ++++++ --- /var/tmp/diff_new_pack.c8MoWG/_old 2014-01-15 19:35:56.000000000 +0100 +++ /var/tmp/diff_new_pack.c8MoWG/_new 2014-01-15 19:35:56.000000000 +0100 @@ -1,3 +1,9 @@ To mount the control group file system just run: /sbin/insserv boot.cgroup and /sys/fs/cgroup will be mounted for cgroup automatically. + + +=== lxc-user-nic === +If you want to use this tool as a user, set the sticky bit by: +# chmod u+s /usr/bin/lxc-user-nic +and update /etc/permissions.local accordingly. ++++++ autogenned.patch ++++++ ++++ 29663 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/lxc/autogenned.patch ++++ and /work/SRC/openSUSE:Factory/.lxc.new/autogenned.patch -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
