Update to 2.0.6.

This commit is contained in:
Thomas Moschny 2016-12-03 17:04:07 +01:00
parent b807064960
commit 3bf81ab242
3 changed files with 16 additions and 9 deletions

View File

@ -38,7 +38,7 @@ diff -up lxc-2.0.1/config/init/sysvinit/lxc-net.in.orig lxc-2.0.1/config/init/sy
# Should-Start: # Should-Start:
# Should-Stop: # Should-Stop:
-# Default-Start: 2 3 4 5 -# Default-Start: 2 3 4 5
-# Default-Stop: 1 -# Default-Stop: 0 1 6
+# Default-Start: +# Default-Start:
+# Default-Stop: +# Default-Stop:
# Short-Description: Bring up/down LXC Network Bridge # Short-Description: Bring up/down LXC Network Bridge

View File

@ -30,7 +30,7 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: lxc Name: lxc
Version: 2.0.5 Version: 2.0.6
Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist} Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
Summary: Linux Resource Containers Summary: Linux Resource Containers
Group: Applications/System Group: Applications/System
@ -58,6 +58,9 @@ BuildRequires: pkgconfig(python3) >= 3.2
%if 0%{?with_systemd} %if 0%{?with_systemd}
BuildRequires: systemd BuildRequires: systemd
%endif # with_systemd %endif # with_systemd
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: pkgconfig(bash-completion)
%endif
# lxc-extra subpackage not needed anymore, lxc-ls has been rewriten in # lxc-extra subpackage not needed anymore, lxc-ls has been rewriten in
# C and does not depend on the Python3 binding anymore # C and does not depend on the Python3 binding anymore
Provides: lxc-extra = %{version}-%{release} Provides: lxc-extra = %{version}-%{release}
@ -203,6 +206,11 @@ This package contains documentation for %{name}.
%endif # with_systemd %endif # with_systemd
--disable-werror \ --disable-werror \
# intentionally blank line # intentionally blank line
# fix rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{make_build} %{make_build}
@ -219,12 +227,8 @@ cp -a doc/api/html/* %{buildroot}%{_pkgdocdir}/api/
# cache dir # cache dir
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name} mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}
# on Fedora and EPEL>=7, move the completion file to %%{_datadir} # remove libtool .la file
%if 0%{?fedora} || 0%{?rhel} >= 7 rm -rf %{buildroot}%{_libdir}/liblxc.la
install -d %{buildroot}%{_datadir}/bash-completion/completions/
mv %{buildroot}%{_sysconfdir}/bash_completion.d/%{name} \
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
%endif
%check %check
@ -370,6 +374,9 @@ fi
%changelog %changelog
* Sat Dec 3 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.6-1
- Update to 2.0.6.
* Wed Oct 5 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.5-1 * Wed Oct 5 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.5-1
- Update to 2.0.5. - Update to 2.0.5.

View File

@ -1 +1 @@
59792f085be451b8cf336d86ac335123 lxc-2.0.5.tar.gz 5fd4b7af8026e8ae20b3065ee18fe974 lxc-2.0.6.tar.gz