代码拉取完成,页面将自动刷新
同步操作将从 openEuler/iSulad-img 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _version 2.0.0
%global _release 20200803.130531.git7619e1a0
Name: iSulad-img
Version: %{_version}
Release: %{_release}
Summary: a tool for downloading iSulad images
Group: Applications/System
License: Mulan PSL v2
URL: https://gitee.com/src-openeuler/iSulad-img
Source0: iSulad-img-2.0.tar.gz
BuildRequires: golang >= 1.8.3
BuildRequires: gpgme gpgme-devel
BuildRequires: device-mapper-devel
%description
A tool for downloading iSulad images, written in go language
%prep
%setup -q -b 0 -c -n iSulad-img-%{version}
# apply the patchs
cp ./patch/* ./
cat series-patch.conf | while read line
do
if [[ $line == '' || $line =~ ^\s*# ]]; then
continue
fi
patch -p1 -F1 -s < $line
done
cd -
%build
make %{?_smp_mflags}
%install
install -d $RPM_BUILD_ROOT/%{_bindir}
install -m 0755 ./isulad-img %{buildroot}/%{_bindir}/isulad-img
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/containers
install -m 0644 ./default-policy.json $RPM_BUILD_ROOT/%{_sysconfdir}/containers/policy.json
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/isulad-img
%{_sysconfdir}/*
%changelog
* Mon Aug 03 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-20200803.130531.git7619e1a0
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: add debug packages
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。