1 Star 0 Fork 14

陈亚强/nvwa

forked from openEuler/nvwa 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nvwa.spec 835 Bytes
一键复制 编辑 原始数据 按行查看 历史
Anatas 提交于 2021-02-19 16:27 . rpm: add spec file
Name: nvwa
Version: 0.0.1
Release: 1%{?dist}
Summary: a tool used for openEuler kernel update
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/nvwa
Source: %{name}-v%{version}.tar.gz
BuildRequires: golang
%description
A tool used to automate the process of seamless update of the openEuler.
%prep
%autosetup -n %{name}
%build
cd src
go get %{name}
go build
cd -
%install
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/etc/%{name}
install -m 0644 %{_builddir}/src/%{name} %{buildroot}/%{_bindir}/
install %{_builddir}/config/* %{buildroot}/etc/%{name}
%files
%license LICENSE
%dir /etc/%{name}/
/etc/%{name}/*
%{_bindir}/%{name}
%changelog
* Thu Feb 18 2021 anatasluo <luolongjun@huawei.com>
- Update to 0.0.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaqiangchen/nvwa.git
git@gitee.com:yaqiangchen/nvwa.git
yaqiangchen
nvwa
nvwa
master

搜索帮助