1 Star 0 Fork 5

starlet_dx/scl-utils

forked from src-openEuler/scl-utils 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0003-Scl-utils-layout-patch-from-fedora-famillecollet.com.patch 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
xu_ping 提交于 2021-09-15 17:42 . package init
From c0315dd54bc94c2acf4e4dcf0a72ca42a1cfde60 Mon Sep 17 00:00:00 2001
From: Lubos Kardos <[email protected]>
Date: Wed, 9 Mar 2016 16:11:56 +0100
Subject: [PATCH] Scl utils layout patch from [email protected]
(#1198693)
---
rpm/macros.scl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rpm/macros.scl b/rpm/macros.scl
index 1246fde..41c6be4 100644
--- a/rpm/macros.scl
+++ b/rpm/macros.scl
@@ -69,10 +69,13 @@ package or when debugging this package.
%global _datadir %{_prefix}/share
%global _sysconfdir %{_scl_root}/etc
%{?nfsmountable: %global _sysconfdir %{_root_sysconfdir}%{_scl_prefix}/scls/%{scl}}
+%{?rh_layout: %global _sysconfdir %{_root_sysconfdir}%{_scl_prefix}/%{scl}}
%global _sharedstatedir %{_scl_root}/var/lib
%{?nfsmountable: %global _sharedstatedir %{_root_localstatedir}%{_scl_prefix}/scls/%{scl}/lib}
+%{?rh_layout: %global _sharedstatedir %{_root_localstatedir}%{_scl_prefix}/%{scl}/lib}
%global _localstatedir %{_scl_root}/var
%{?nfsmountable: %global _localstatedir %{_root_localstatedir}%{_scl_prefix}/scls/%{scl}}
+%{?rh_layout: %global _localstatedir %{_root_localstatedir}%{_scl_prefix}/%{scl}}
%global _libdir %{_exec_prefix}/%{_lib}
%global _includedir %{_prefix}/include
%global _infodir %{_datadir}/info
--
1.9.3
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/starlet-dx/scl-utils.git
[email protected]:starlet-dx/scl-utils.git
starlet-dx
scl-utils
scl-utils
master

搜索帮助