|
@@ -5,24 +5,24 @@
|
|
%global with_systemd 0
|
|
%global with_systemd 0
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-%global luaver 5.1
|
|
+%global luaver 5.4
|
|
%global lualibdir %{_libdir}/lua/%{luaver}
|
|
%global lualibdir %{_libdir}/lua/%{luaver}
|
|
%global luapkgdir %{_datadir}/lua/%{luaver}
|
|
%global luapkgdir %{_datadir}/lua/%{luaver}
|
|
|
|
|
|
%define _unpackaged_files_terminate_build 1
|
|
%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
Name: lxc
|
|
Name: lxc
|
|
-Version: 4.0.4
|
|
+Version: 4.0.9
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
Summary: Linux Resource Containers
|
|
Summary: Linux Resource Containers
|
|
Summary(ja): Linux リソースコンテナ
|
|
Summary(ja): Linux リソースコンテナ
|
|
Group: virtualization
|
|
Group: virtualization
|
|
License: LGPLv2+ and GPLv2
|
|
License: LGPLv2+ and GPLv2
|
|
-URL: https://linuxcontainers.org
|
|
+URL: https://linuxcontainers.org/
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
-Source0: https://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
|
|
+Source0: https://linuxcontainers.org/downloads/lxc/%{name}-%{version}.tar.gz
|
|
Source10: lxc-vinelinux
|
|
Source10: lxc-vinelinux
|
|
Source11: vinelinux.common.conf
|
|
Source11: vinelinux.common.conf
|
|
Source12: vinelinux.userns.conf
|
|
Source12: vinelinux.userns.conf
|
|
@@ -232,6 +232,7 @@ chmod -x %{buildroot}%{luapkgdir}/lxc.lua
|
|
rm -rf rpmdoc
|
|
rm -rf rpmdoc
|
|
mkdir -p rpmdoc/api
|
|
mkdir -p rpmdoc/api
|
|
cp -a doc/api/html/* rpmdoc/api/
|
|
cp -a doc/api/html/* rpmdoc/api/
|
|
|
|
+mv -f %{buildroot}%{_docdir}/lxc/examples rpmdoc/
|
|
|
|
|
|
# cache dir
|
|
# cache dir
|
|
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}
|
|
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}
|
|
@@ -251,7 +252,6 @@ make check
|
|
|
|
|
|
|
|
|
|
%post libs
|
|
%post libs
|
|
-/sbin/ldconfig
|
|
|
|
%if 0%{?with_systemd}
|
|
%if 0%{?with_systemd}
|
|
%systemd_post %{name}-net.service
|
|
%systemd_post %{name}-net.service
|
|
%systemd_post %{name}.service
|
|
%systemd_post %{name}.service
|
|
@@ -275,7 +275,6 @@ fi
|
|
|
|
|
|
|
|
|
|
%postun libs
|
|
%postun libs
|
|
-/sbin/ldconfig
|
|
|
|
%if 0%{?with_systemd}
|
|
%if 0%{?with_systemd}
|
|
%systemd_postun %{name}-net.service
|
|
%systemd_postun %{name}-net.service
|
|
%systemd_postun %{name}.service
|
|
%systemd_postun %{name}.service
|
|
@@ -291,7 +290,7 @@ fi
|
|
%files
|
|
%files
|
|
%license COPYING LICENSE*
|
|
%license COPYING LICENSE*
|
|
%doc AUTHORS MAINTAINERS README*
|
|
%doc AUTHORS MAINTAINERS README*
|
|
-%doc rpmdoc/api
|
|
+%doc rpmdoc/examples
|
|
%{_bindir}/%{name}-*
|
|
%{_bindir}/%{name}-*
|
|
%{_mandir}/man1/%{name}*
|
|
%{_mandir}/man1/%{name}*
|
|
%{_mandir}/*/man1/%{name}*
|
|
%{_mandir}/*/man1/%{name}*
|
|
@@ -383,11 +382,15 @@ fi
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
%files doc
|
|
-%doc COPYING LICENSE* AUTHORS MAINTAINERS README*
|
|
+%license COPYING LICENSE*
|
|
|
|
+%doc AUTHORS MAINTAINERS README*
|
|
%doc rpmdoc/api
|
|
%doc rpmdoc/api
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed May 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
|
|
|
|
+- new upstream release,
|
|
|
|
+
|
|
* Mon Aug 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
|
|
* Mon Aug 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
|
|
- new upstream release,
|
|
- new upstream release,
|
|
- added systemd support (disabled as default).
|
|
- added systemd support (disabled as default).
|