!8 isula-build: modify spec
Merge pull request !8 from DCCooper/src_master
This commit is contained in:
commit
1b4e6d4ae1
@ -1 +1 @@
|
|||||||
a96cf18ca11ca4821f7014ed909345bc6ccfe606
|
ef9ec57767334bc4880898a14ce05a5920e48fb6
|
||||||
|
|||||||
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
Name: isula-build
|
Name: isula-build
|
||||||
Version: 0.9.2
|
Version: 0.9.2
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A tool to build container images
|
Summary: A tool to build container images
|
||||||
License: Mulan PSL V2
|
License: Mulan PSL V2
|
||||||
URL: https://gitee.com/openeuler/isula-build
|
URL: https://gitee.com/openeuler/isula-build
|
||||||
Source0: isula-build-v0.9.2.tar.gz
|
Source0: https://gitee.com/openeuler/isula-build/repository/archive/v%{version}.tar.gz
|
||||||
Source1: git-commit
|
Source1: git-commit
|
||||||
BuildRequires: make btrfs-progs-devel device-mapper-devel glib2-devel gpgme-devel
|
BuildRequires: make btrfs-progs-devel device-mapper-devel glib2-devel gpgme-devel
|
||||||
BuildRequires: libassuan-devel libseccomp-devel git bzip2 go-md2man systemd-devel
|
BuildRequires: libassuan-devel libseccomp-devel git bzip2 go-md2man systemd-devel
|
||||||
@ -50,21 +50,6 @@ install -p -m 600 __isula-build %{buildroot}/usr/share/bash-completion/completio
|
|||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
|
||||||
%if 0%{?is_systemd}
|
|
||||||
systemctl start isula-build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%preun
|
|
||||||
%if 0%{?is_systemd}
|
|
||||||
%systemd_preun isula-build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%if 0%{?is_systemd}
|
|
||||||
%systemd_postun_with_restart isula-build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
# default perm for files and folder
|
# default perm for files and folder
|
||||||
%defattr(0640,root,root,0550)
|
%defattr(0640,root,root,0550)
|
||||||
@ -80,6 +65,9 @@ systemctl start isula-build
|
|||||||
/usr/share/bash-completion/completions/isula-build
|
/usr/share/bash-completion/completions/isula-build
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 04 2020 lixiang <lixiang172@huawei.com> - 0.9.2-3
|
||||||
|
- Fix Source0 and do not startup after install by default
|
||||||
|
|
||||||
* Sat Aug 15 2020 lixiang <lixiang172@huawei.com> - 0.9.2-2
|
* Sat Aug 15 2020 lixiang <lixiang172@huawei.com> - 0.9.2-2
|
||||||
- Add bash completion script in rpm
|
- Add bash completion script in rpm
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user