Accepting request 931744 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/931744 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/toolbox?expand=0&rev=16
This commit is contained in:
parent
6a5b5a9693
commit
de57b289c2
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 8 15:46:47 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
- Don't install config file in /etc in favor of a built-in default. Avoids
|
||||||
|
empty /etc pulling wrong image.
|
||||||
|
- Handle Leap Micro (boo#1192474)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 23 13:37:09 UTC 2021 - kukuk@suse.com
|
Mon Aug 23 13:37:09 UTC 2021 - kukuk@suse.com
|
||||||
|
|
||||||
|
17
toolbox.spec
17
toolbox.spec
@ -24,7 +24,6 @@ License: Apache-2.0
|
|||||||
Group: System/Management
|
Group: System/Management
|
||||||
URL: https://github.com/thkukuk/microos-toolbox
|
URL: https://github.com/thkukuk/microos-toolbox
|
||||||
Source: microos-toolbox-%{version}.tar.xz
|
Source: microos-toolbox-%{version}.tar.xz
|
||||||
Source1: toolboxrc.sle-micro
|
|
||||||
Requires: podman
|
Requires: podman
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -38,23 +37,25 @@ such a system. The root filesystem can be found at /media/root.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n microos-toolbox-%{version}
|
%setup -q -n microos-toolbox-%{version}
|
||||||
|
%if 0%{?sle_version}
|
||||||
|
%if !0%{?is_opensuse}
|
||||||
|
sed -i -e 's,registry.opensuse.org,registry.suse.com,' toolbox
|
||||||
|
sed -i -e 's,opensuse/toolbox,suse/sle-micro/5.1/toolbox,' toolbox
|
||||||
|
%else
|
||||||
|
sed -i -e 's,opensuse/toolbox,opensuse/leap-micro/5.1/toolbox,' toolbox
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
install -m 755 toolbox %{buildroot}%{_bindir}/toolbox
|
install -m 755 toolbox %{buildroot}%{_bindir}/toolbox
|
||||||
%if !0%{?is_opensuse}
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}
|
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/toolboxrc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/toolbox
|
%{_bindir}/toolbox
|
||||||
%if !0%{?is_opensuse}
|
%ghost %config %{_sysconfdir}/toolboxrc
|
||||||
%config %{_sysconfdir}/toolboxrc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
REGISTRY=registry.suse.com
|
|
||||||
IMAGE=suse/sle-micro/5.0/toolbox
|
|
Loading…
x
Reference in New Issue
Block a user