-
Name: openrc
Version: 0.42.1
Release: 0
License: 2BSD
URL: https://github.com/OpenRC/openrc
Source0: https://github.com/OpenRC/openrc/archive/0.42.1.tar.gz
-Patch0: gcc10.patch
+# From https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/openrc/files/openrc-0.42.1-gcc-10.patch
+Patch0: openrc-0.42.1-gcc-10.patch
%description
OpenRC manages the services, startup and shutdown of a host
%prep
%setup
%patch0 -p1
+
%build
-make %{?_smp_mflags}
+make %{?_smp_mflags} LIBEXECDIR=/lib/rc MKBASHCOMP=yes MKZSHCOMP=yes
%check
make check %{?_smp_mflags}