diff --git a/runc.changes b/runc.changes index 4c36418..d0ebd6e 100644 --- a/runc.changes +++ b/runc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 31 14:01:03 UTC 2018 - Valentin Rothberg + +- Create a symlink in /usr/bin/runc to enable rootless Podman and Buildah. + ------------------------------------------------------------------- Wed Jun 13 12:59:09 UTC 2018 - dcassany@suse.com diff --git a/runc.spec b/runc.spec index a7f43f4..18f8fd5 100644 --- a/runc.spec +++ b/runc.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # # nodebuginfo @@ -130,8 +130,11 @@ man/md2man-all.sh %install source ./.runc_build_env -# We install to /usr/sbin/runc as per upstream. +# We install to /usr/sbin/runc as per upstream an create a symlink in /usr/bin +# for rootless tools. install -D -m755 %{name}-%{version} %{buildroot}%{_sbindir}/%{name} +install -m 755 -d %{buildroot}%{_bindir} +ln -s %{_sbindir}/%{name} %{buildroot}%{_bindir}/%{name} install -d -m755 %{buildroot}/usr/src/%{name}/ cp -av $HOME/go/src/%{project}/* %{buildroot}/usr/src/%{name}/ @@ -148,6 +151,7 @@ install -m644 man/man8/runc*.8 %{buildroot}%{_mandir}/man8 %doc README.md %license LICENSE %{_sbindir}/%{name} +%{_bindir}/%{name} %{_mandir}/man8/runc*.8.gz %files test