|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
Name: lxc
|
|
|
|
|
Version: 2.0.5
|
|
|
|
|
Version: 2.0.6
|
|
|
|
|
Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
|
|
|
|
|
Summary: Linux Resource Containers
|
|
|
|
|
Group: Applications/System
|
|
|
|
@ -58,6 +58,9 @@ BuildRequires: pkgconfig(python3) >= 3.2
|
|
|
|
|
%if 0%{?with_systemd}
|
|
|
|
|
BuildRequires: 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
|
|
|
|
|
# C and does not depend on the Python3 binding anymore
|
|
|
|
|
Provides: lxc-extra = %{version}-%{release}
|
|
|
|
@ -203,6 +206,11 @@ This package contains documentation for %{name}.
|
|
|
|
|
%endif # with_systemd
|
|
|
|
|
--disable-werror \
|
|
|
|
|
# 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}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -219,12 +227,8 @@ cp -a doc/api/html/* %{buildroot}%{_pkgdocdir}/api/
|
|
|
|
|
# cache dir
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}
|
|
|
|
|
|
|
|
|
|
# on Fedora and EPEL>=7, move the completion file to %%{_datadir}
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
|
|
install -d %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
|
mv %{buildroot}%{_sysconfdir}/bash_completion.d/%{name} \
|
|
|
|
|
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
|
|
|
|
%endif
|
|
|
|
|
# remove libtool .la file
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/liblxc.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -370,6 +374,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Update to 2.0.5.
|
|
|
|
|
|
|
|
|
|