%define debug_package %{nil} %define src_name x2nestos.sh Name: x2nestos Version: v0.1.1 Release: 1 Summary: A Tool used to convert a general linux operating system to NestOS For Container. License: MulanPSL-2.0 URL: https://gitee.com/openeuler/x2nestos BuildArch: noarch Source0: %{name}-%{version}.tar.gz Requires: kexec-tools %description Convert to NestOS For Container based on immutable operating systems, based on deployed general OS forms such as OpenEuler. Suitable for scenarios where it is not convenient to reboot installation or convert in large quantities. Attention: 1. Non migration tools and do NOT retain disk data. 2. This conversion is irreversible. %prep %setup -q -n %{name}-%{version} %build # Nothing to build %install mkdir -p %{buildroot}/usr/bin install -m 755 %{src_name} %{buildroot}/usr/bin/%{name} %files %{_bindir}/x2nestos %license LICENSE %doc README.md README.en.md %changelog * Mon Sep 25 2023 wangyueliang - v0.1.1-1 - Release v0.1.1 * Thu Sep 14 2023 wangyueliang - v0.1.0-1 - Release v0.1.0