1 Star 0 Fork 90

邹鹏/openEuler-rpm-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Delete-the-commented-code.patch 1.79 KB
一键复制 编辑 原始数据 按行查看 历史
hongjinghao 提交于 2024-03-05 20:25 . Delete the commented code
From c7605385b9d838be78a87de02a48eaaa6e69b4b2 Mon Sep 17 00:00:00 2001
From: hongjinghao <[email protected]>
Date: Tue, 5 Mar 2024 20:22:59 +0800
Subject: [PATCH] Delete the commented code
---
brp-digest-list | 1 -
macros | 7 -------
2 files changed, 8 deletions(-)
diff --git a/brp-digest-list b/brp-digest-list
index 77248c9..7de42b7 100644
--- a/brp-digest-list
+++ b/brp-digest-list
@@ -9,7 +9,6 @@ if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
fi
# Create temporary file listing files in the manifest
-#[ -n "$TMPDIR" ] || TMPDIR="/tmp"
TMPDIR="/tmp"
BIN_PKG_FILES=${TMPDIR}/${3%%.rpm}
cat - > $BIN_PKG_FILES
diff --git a/macros b/macros
index 52df0f6..bf672e2 100644
--- a/macros
+++ b/macros
@@ -16,10 +16,8 @@
%_fmoddir %{_libdir}/gfortran/modules
%_enable_debug_packages 1
-#%_include_minidebuginfo 1
%_include_gdb_index 1
%_debugsource_packages 1
-#%_debuginfo_subpackages 1
%_build_id_links none
@@ -188,11 +186,9 @@
# Fail linking if there are undefined symbols. Required for proper
# ELF symbol versioning support. Disabled by default.
# Use "%define _ld_strict_symbol_defs 1" to enable.
-#%_ld_strict_symbol_defs 1
%_ld_symbols_flags %{?_ld_strict_symbol_defs:-Wl,-z,defs}
# use "%define _ld_as_needed 1" to enable.
-#%_ld_as_needed 1
%_ld_as_needed_flags %{?_ld_as_needed:-Wl,--as-needed}
%__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches %{_hardened_cflags}
@@ -304,9 +300,6 @@ Requires: man info \
%description help \
Man pages and other related documents for %{name}.
-#%sbin_installinfo_rm bc.info
-#%sbin_installinfo_rm bc.info.gz
-
%install_info() \
/sbin/install-info %1 %{_infodir}/dir || :
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peng_zou/openEuler-rpm-config.git
[email protected]:peng_zou/openEuler-rpm-config.git
peng_zou
openEuler-rpm-config
openEuler-rpm-config
master

搜索帮助