1 Star 0 Fork 47

wangdong_cmcc/env_check_5

forked from openEuler/env_check 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
env_check.spec 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
wangcichen 提交于 2023-08-17 16:24 . add spec file for building rpm
%global debug_package %{nil}
Name: env_check
Version: 0.1
Release: 1
Summary: A tool for "health checking" after operating system upgrade
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/env_check
BuildArch: noarch
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3
Requires: python3
%description
A tool for "health checking" after operating system upgrade
%prep
%setup -c -n %{name}-%{version}
%build
%install
mkdir -p %{buildroot}/usr/local/env_check
/bin/cp -r sut %{buildroot}/usr/local/env_check/
%files
/usr/local/env_check
%doc README.md
%license LICENSE.txt
%post
if test -e %{_bindir}/env_check || test -L %{_bindir}/env_check; then \
rm -f %{_bindir}/env_check; \
fi
ln -s /usr/local/env_check/sut/env_check.py %{_bindir}/env_check
chmod +x %{_bindir}/env_check
%postun
if test -e %{_bindir}/env_check || test -L %{_bindir}/env_check; then \
rm -f %{_bindir}/env_check; \
fi
%changelog
* Thu Aug 17 2023 Cichen Wang <wangcichen@cmss.chinamobile.com> - 0.1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangdong_cmcc/env_check_5.git
git@gitee.com:wangdong_cmcc/env_check_5.git
wangdong_cmcc
env_check_5
env_check_5
dev_wangdong

搜索帮助