summaryrefslogtreecommitdiffstats
path: root/scl-utils-layout.patch
blob: 80690190c661c7f1dad7b6d914595d171d8a2e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -up rpm/macros.scl.orig rpm/macros.scl
--- a/rpm/macros.scl.orig	2015-06-24 07:26:39.838044392 +0200
+++ a/rpm/macros.scl	2015-06-24 07:34:13.762968582 +0200
@@ -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