Hello community,
here is the log from the commit of package runc for openSUSE:Factory checked in at 2018-11-06 15:29:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/runc (Old)
and /work/SRC/openSUSE:Factory/.runc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "runc"
Tue Nov 6 15:29:02 2018 rev:19 rq:645770 version:1.0.0~rc5
Changes:
--------
--- /work/SRC/openSUSE:Factory/runc/runc.changes 2018-06-22 13:15:41.302358855 +0200
+++ /work/SRC/openSUSE:Factory/.runc.new/runc.changes 2018-11-06 15:29:22.252158986 +0100
@@ -1,0 +2,5 @@
+Wed Oct 31 14:01:03 UTC 2018 - Valentin Rothberg
+
+- Create a symlink in /usr/bin/runc to enable rootless Podman and Buildah.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ runc.spec ++++++
--- /var/tmp/diff_new_pack.YtNdGO/_old 2018-11-06 15:29:23.132157651 +0100
+++ /var/tmp/diff_new_pack.YtNdGO/_new 2018-11-06 15:29:23.136157644 +0100
@@ -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 @@
%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 @@
%doc README.md
%license LICENSE
%{_sbindir}/%{name}
+%{_bindir}/%{name}
%{_mandir}/man8/runc*.8.gz
%files test