mirror of
https://abf.rosa.ru/djam/lxc.git
synced 2025-02-24 06:02:54 +00:00
Update for 2016.1
This commit is contained in:
parent
e3a7c6da60
commit
40c015410e
2 changed files with 9 additions and 2 deletions
|
@ -1 +1,3 @@
|
||||||
addFilter("E: devel-file-in-non-devel-package")
|
addFilter("E: devel-file-in-non-devel-package")
|
||||||
|
addFilter("E: wrong-script-interpreter")
|
||||||
|
|
||||||
|
|
9
lxc.spec
9
lxc.spec
|
@ -99,10 +99,11 @@ sshd.
|
||||||
%dir %{_datadir}/lxc/templates
|
%dir %{_datadir}/lxc/templates
|
||||||
%dir %{_datadir}/lxc/selinux
|
%dir %{_datadir}/lxc/selinux
|
||||||
%dir %{_datadir}/lxc/config/common.conf.d
|
%dir %{_datadir}/lxc/config/common.conf.d
|
||||||
|
%dir %{_libdir}/lxc/rootfs
|
||||||
%{_datadir}/lxc/templates/*
|
%{_datadir}/lxc/templates/*
|
||||||
%{_datadir}/lxc/hooks/*
|
%{_datadir}/lxc/hooks/*
|
||||||
%{_datadir}/lxc/selinux/lxc.*
|
%{_datadir}/lxc/selinux/lxc.*
|
||||||
%{_datadir}/lxc/__pycache__
|
#{_datadir}/lxc/__pycache__
|
||||||
%{_libdir}/lxc/rootfs/README
|
%{_libdir}/lxc/rootfs/README
|
||||||
%{_mandir}/man*/%{name}*
|
%{_mandir}/man*/%{name}*
|
||||||
%{_mandir}/ja/man*/*
|
%{_mandir}/ja/man*/*
|
||||||
|
@ -189,7 +190,8 @@ The python3-%{name} package contains the Python3 binding for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1 %{?_with_lua:-a 2} -a 3
|
%setup -q -a 1 %{?_with_lua:-a 2} -a 3
|
||||||
%autopatch -p1
|
%apply_patches
|
||||||
|
#autopatch -p1
|
||||||
|
|
||||||
# Some adaptation of OMV script
|
# Some adaptation of OMV script
|
||||||
# TODO: name it as ROSA and test it properly
|
# TODO: name it as ROSA and test it properly
|
||||||
|
@ -278,3 +280,6 @@ install %{SOURCE6} %{buildroot}%{_sysconfdir}/sysctl.d/99-lxc-oom.conf
|
||||||
|
|
||||||
# Fix up bogus pkgconfig files
|
# Fix up bogus pkgconfig files
|
||||||
sed -i -e 's,\${prefix}//,/,g' %{buildroot}%{_libdir}/pkgconfig/*
|
sed -i -e 's,\${prefix}//,/,g' %{buildroot}%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
|
# clean .a files
|
||||||
|
find %{buildroot} -type f -name "*.a" -exec rm -f {} \;
|
||||||
|
|
Loading…
Add table
Reference in a new issue