代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/openEuler-rpm-config 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From e9f486a8d9af5b01dcadf8432a449e434cd6886b Mon Sep 17 00:00:00 2001
From: Yangyang Shen <shenyangyang4@huawei.com>
Date: Sat, 27 Mar 2021 14:18:56 +0800
Subject: [PATCH] change the OEPKGSOS to generic for common use
---
OEPKGSOS-hardened-cc1 => generic-hardened-cc1 | 0
OEPKGSOS-hardened-ld => generic-hardened-ld | 0
OEPKGSOS-pie-cc1 => generic-pie-cc1 | 0
OEPKGSOS-pie-ld => generic-pie-ld | 0
macros | 14 +++++++-------
5 files changed, 7 insertions(+), 7 deletions(-)
rename OEPKGSOS-hardened-cc1 => generic-hardened-cc1 (100%)
rename OEPKGSOS-hardened-ld => generic-hardened-ld (100%)
rename OEPKGSOS-pie-cc1 => generic-pie-cc1 (100%)
rename OEPKGSOS-pie-ld => generic-pie-ld (100%)
diff --git a/OEPKGSOS-hardened-cc1 b/generic-hardened-cc1
similarity index 100%
rename from OEPKGSOS-hardened-cc1
rename to generic-hardened-cc1
diff --git a/OEPKGSOS-hardened-ld b/generic-hardened-ld
similarity index 100%
rename from OEPKGSOS-hardened-ld
rename to generic-hardened-ld
diff --git a/OEPKGSOS-pie-cc1 b/generic-pie-cc1
similarity index 100%
rename from OEPKGSOS-pie-cc1
rename to generic-pie-cc1
diff --git a/OEPKGSOS-pie-ld b/generic-pie-ld
similarity index 100%
rename from OEPKGSOS-pie-ld
rename to generic-pie-ld
diff --git a/macros b/macros
index b06faea..ce7cf5c 100644
--- a/macros
+++ b/macros
@@ -52,7 +52,7 @@
%configure \
%{set_build_flags}; \
[ "%_configure_gnuconfig_hack" = 1 ] && for i in $(find $(dirname %{_configure}) -name config.guess -o -name config.sub) ; do \
- [ -f /usr/lib/rpm/OEPKGSOS/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/OEPKGSOS/$(basename $i) $i ; \
+ [ -f /usr/lib/rpm/%{_vendor}/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/%{_vendor}/$(basename $i) $i ; \
done ; \
[ "%_configure_libtool_hardening_hack" = 1 ] && [ x != "x%{_hardened_ldflags}" ] && \
for i in $(find . -name ltmain.sh) ; do \
@@ -89,7 +89,7 @@
# Build root policy macros. Standard naming:
# convert all '-' in basename to '_', add two leading underscores.
-%__brp_ldconfig /usr/lib/rpm/OEPKGSOS/brp-ldconfig
+%__brp_ldconfig /usr/lib/rpm/brp-ldconfig
%__brp_compress /usr/lib/rpm/brp-compress
%__brp_strip /usr/lib/rpm/brp-strip %{__strip}
%__brp_strip_comment_note /usr/lib/rpm/brp-strip-comment-note %{__strip} %{__objdump}
@@ -144,8 +144,8 @@
# secure options for rpmbuild
#
# #hardened options
-%_hardening_cflags -specs=/usr/lib/rpm/%{_vendor}/OEPKGSOS-hardened-cc1
-%_hardening_ldflags -Wl,-z,now -specs=/usr/lib/rpm/%{_vendor}/OEPKGSOS-hardened-ld
+%_hardening_cflags -specs=/usr/lib/rpm/generic-hardened-cc1
+%_hardening_ldflags -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld
# Use "%undefine _hardened_build" to disable.
%_hardened_build 1
%_hardened_cflags %{?_hardened_build:%{_hardening_cflags}}
@@ -156,14 +156,14 @@
#Use "%undefine _sec_opt_build" to disable.
#Use "%undefine _pie_build" to disable.
%_pie_build 1
-%_pie_pre_cflags -specs=/usr/lib/rpm/%{_vendor}/OEPKGSOS-pie-cc1
-%_pie_pre_ldflags -Wl,-z,now -specs=/usr/lib/rpm/%{_vendor}/OEPKGSOS-pie-ld
+%_pie_pre_cflags -specs=/usr/lib/rpm/generic-pie-cc1
+%_pie_pre_ldflags -Wl,-z,now -specs=/usr/lib/rpm/generic-pie-ld
%_pie_cflags %{?_sec_opt_build:?_pie_build:%{_pie_pre_cflags}}
%_pie_ldflags %{?_sec_opt_build:?_pie_build:%{_pie_pre_ldflags}}
#Use "%undefine _fs_build" to disable.
%_fs_build 1
-%_fs_pre_cflags -specs=/usr/lib/rpm/%{_vendor}/OEPKGSOS-fs-cc1
+%_fs_pre_cflags -specs=/usr/lib/rpm/generic-fs-cc1
%_fs_cflags %{?_fs_build:%{_fs_pre_cflags}}
--
2.23.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。