Projects
Eulaceura:Factory
iSulad-img
_service:obs_scm:iSulad-img.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:iSulad-img.spec of Package iSulad-img
%global _version 2.0.1 %global _release 20221117.094410.git05877119 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/openeuler/iSulad-img Source0: https://gitee.com/openeuler/iSulad-img/repository/archive/v%{version}.tar.gz Patch6001: 0001-enable-strip-and-ftrapv.patch Patch6002: 0002-do-not-strip-when-make-strip-it-when-make-rpm-if-nec.patch BuildRequires: golang >= 1.8.3 BuildRequires: gpgme gpgme-devel BuildRequires: device-mapper-devel BuildRequires: git %description A tool for downloading iSulad images, written in go language %prep %autosetup -n %{name}-v%{_version} -Sgit -p1 # 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 # for golang 1.17.3, we need set GO111MODULE=off export GO111MODULE=off 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 * Thu Nov 17 2022 zhangxiaoyu <zhangxiaoyu58@huawei.com> - 2.0.1-20221117.094410.git05877119 - Type:bugfix - CVE:NA - SUG:NA - DESC:update tar package from source * Wed Apr 13 2022 wangfengtu <wangfengtu@huawei.com> - 2.0.1-20220413.100221.git03679c7e - Type:bugfix - ID:NA - SUG:NA - DESC: fix compile error * Wed Nov 25 2020 wangfengtu <wangfengtu@huawei.com> - 2.0.1-20201125.171836.git35177b29 - Type:bugfix - ID:NA - SUG:NA - DESC: enable ftrapv * Tue Sep 10 2020 YoungJQ <yangjiaqi11@huawei.com> - 2.0.1-20200910.145214.git7e4f382a - Type:enhancement - ID:NA - SUG:NA - DESC: add debug package * Wed Sep 02 2020 YoungJQ <yangjiaqi11@huawei.com> - 2.0.1-20200902.114147.git497e740a - Type:enhancement - ID:NA - SUG:NA - DESC: modify source0 address
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2