From bbc5d1869b236ac1be68002d001c0fba6dd5b456 Mon Sep 17 00:00:00 2001 From: DCCooper <1866858@gmail.com> Date: Fri, 4 Sep 2020 11:40:07 +0800 Subject: [PATCH] isula-build: modify spec reason: 1. modify source0 url. Fixed: #I1T41W 2. do not start up after installed. Fixed: #I1T7JM Signed-off-by: DCCooper <1866858@gmail.com> --- git-commit | 2 +- isula-build.spec | 22 +++++---------------- isula-build-v0.9.2.tar.gz => v0.9.2.tar.gz | Bin 3 files changed, 6 insertions(+), 18 deletions(-) rename isula-build-v0.9.2.tar.gz => v0.9.2.tar.gz (100%) diff --git a/git-commit b/git-commit index 26fb4f9..b06efe3 100644 --- a/git-commit +++ b/git-commit @@ -1 +1 @@ -a96cf18ca11ca4821f7014ed909345bc6ccfe606 +ef9ec57767334bc4880898a14ce05a5920e48fb6 diff --git a/isula-build.spec b/isula-build.spec index a37525e..c78f2e9 100644 --- a/isula-build.spec +++ b/isula-build.spec @@ -2,11 +2,11 @@ Name: isula-build Version: 0.9.2 -Release: 2 +Release: 3 Summary: A tool to build container images License: Mulan PSL V2 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 BuildRequires: make btrfs-progs-devel device-mapper-devel glib2-devel gpgme-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 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 # default perm for files and folder %defattr(0640,root,root,0550) @@ -80,6 +65,9 @@ systemctl start isula-build /usr/share/bash-completion/completions/isula-build %changelog +* Fri Sep 04 2020 lixiang - 0.9.2-3 +- Fix Source0 and do not startup after install by default + * Sat Aug 15 2020 lixiang - 0.9.2-2 - Add bash completion script in rpm diff --git a/isula-build-v0.9.2.tar.gz b/v0.9.2.tar.gz similarity index 100% rename from isula-build-v0.9.2.tar.gz rename to v0.9.2.tar.gz