OSDN Git Service

Changed some config of openrc. master
authorHe Chenlan <210hcl@gmail.com>
Sun, 14 Feb 2021 05:09:22 +0000 (13:09 +0800)
committerHe Chenlan <210hcl@gmail.com>
Sun, 14 Feb 2021 05:09:22 +0000 (13:09 +0800)
openrc.spec

index 98d4ba5..5cf6313 100644 (file)
@@ -1,4 +1,3 @@
-
 Name:           openrc
 Version:        0.42.1
 Release:        0
@@ -6,7 +5,8 @@ Summary:        OpenRC manages the services, startup and shutdown of a host
 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
@@ -14,8 +14,9 @@ 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}