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

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