Update for 2016.1

This commit is contained in:
Sergey Zhemoitel 2021-01-04 11:54:23 +03:00
parent e3a7c6da60
commit 40c015410e
2 changed files with 9 additions and 2 deletions

View file

@ -1 +1,3 @@
addFilter("E: devel-file-in-non-devel-package")
addFilter("E: wrong-script-interpreter")

View file

@ -99,10 +99,11 @@ sshd.
%dir %{_datadir}/lxc/templates
%dir %{_datadir}/lxc/selinux
%dir %{_datadir}/lxc/config/common.conf.d
%dir %{_libdir}/lxc/rootfs
%{_datadir}/lxc/templates/*
%{_datadir}/lxc/hooks/*
%{_datadir}/lxc/selinux/lxc.*
%{_datadir}/lxc/__pycache__
#{_datadir}/lxc/__pycache__
%{_libdir}/lxc/rootfs/README
%{_mandir}/man*/%{name}*
%{_mandir}/ja/man*/*
@ -189,7 +190,8 @@ The python3-%{name} package contains the Python3 binding for %{name}.
%prep
%setup -q -a 1 %{?_with_lua:-a 2} -a 3
%autopatch -p1
%apply_patches
#autopatch -p1
# Some adaptation of OMV script
# 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
sed -i -e 's,\${prefix}//,/,g' %{buildroot}%{_libdir}/pkgconfig/*
# clean .a files
find %{buildroot} -type f -name "*.a" -exec rm -f {} \;