From 7ac1cb68d8dfc00d7189abb63f8af710ed276385 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 2 Oct 2012 22:07:50 +0200 Subject: [PATCH] macros: Add templates for python packages. --- macros/templates.macro | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/macros/templates.macro b/macros/templates.macro index 794619bc3..a2388b9d7 100644 --- a/macros/templates.macro +++ b/macros/templates.macro @@ -87,4 +87,24 @@ packages %{datadir}/doc end end + + template PYTHON + summary = Python bindings from the %{name} package. + description = %{summary} + + files + %{python_sitearch} + %{python_sitelib} + end + end + + template PYTHON3 + summary = Python 3 bindings from the %{name} package. + description = %{summary} + + files + %{python3_sitearch} + %{python3_sitelib} + end + end end -- 2.39.5