[python-straight-plugin] Add python-importlib as R and BR

Pierre-YvesChibon pingou at fedoraproject.org
Fri Nov 11 16:21:24 UTC 2011


commit bc609bf033781aaf9669d38ac91a873811e9965a
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date:   Fri Nov 11 17:21:02 2011 +0100

    Add python-importlib as R and BR

 python-straight-plugin.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/python-straight-plugin.spec b/python-straight-plugin.spec
index 3fcba6f..5f17f3d 100644
--- a/python-straight-plugin.spec
+++ b/python-straight-plugin.spec
@@ -28,6 +28,12 @@ BuildRequires:  python3-devel
 BuildRequires:  python-tools
 %endif
 
+%if 0%{?rhel} > 6
+BuildRequires:  python-importlib
+Requires:       python-importlib
+%endif
+
+
 %description
 straight.plugin is a Python plugin loader inspired by twisted.plugin with two
 important distinctions:


More information about the scm-commits mailing list