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

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