Blame SOURCES/0012-Introduce-scl_dependency_generators-macro.patch

1e4a06
From d854427f573cba1f74c6e9141d31e5b2e31ca657 Mon Sep 17 00:00:00 2001
1e4a06
From: Jan Zeleny <jzeleny@redhat.com>
1e4a06
Date: Tue, 26 Aug 2014 13:44:12 +0200
1e4a06
Subject: [PATCH] Introduce %scl_dependency_generators macro
1e4a06
1e4a06
Up until now, collections with custom dependency generators used the
1e4a06
%scl_package_override macro. However with the rewritten dependency
1e4a06
dependency generators several commits back, this is no longer working,
1e4a06
as the dependency generators defined in %scl_package are final. This
1e4a06
macro can be now udes to override dependency generators in -build
1e4a06
subpackages on anywhere else in a way compatible with the %scl_package
1e4a06
definition.
1e4a06
1e4a06
As an effect, dependency generators defined in
1e4a06
%scl_dependency_generators macro will be taken into account when
1e4a06
%generating automatic dependencies for SCLized packages.
1e4a06
---
1e4a06
 macros.scl | 1 +
1e4a06
 1 file changed, 1 insertion(+)
1e4a06
1e4a06
diff --git a/macros.scl b/macros.scl
1e4a06
index 1500ab566f93b750873f5ebf752a0ce5a631f2a0..67c76be732d2f8abd54dc1af4da61a2c826432cc 100644
1e4a06
--- a/macros.scl
1e4a06
+++ b/macros.scl
1e4a06
@@ -74,6 +74,7 @@ package or when debugging this package.
1e4a06
 %global _docdir			%{_datadir}/doc
1e4a06
 %global _defaultdocdir		%{_docdir}
1e4a06
 }
1e4a06
+%{?scl_dependency_generators:%scl_dependency_generators}
1e4a06
 %global scl_pkg_name		%{scl}-%{pkg_name}
1e4a06
 %scl_debug
1e4a06
 %global __os_install_post %{expand:
1e4a06
-- 
1e4a06
1.9.3
1e4a06