From 8b0486b7f452e048e18ec850f9c66c19f75a2d85 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 18 Feb 2012 22:21:32 +0100 Subject: [PATCH] Update syntax of macro files. No functional changes. --- macros/templates.macro | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/macros/templates.macro b/macros/templates.macro index 8a1938db8..9f448f3f5 100644 --- a/macros/templates.macro +++ b/macros/templates.macro @@ -14,27 +14,25 @@ packages obsoletes = template MAIN - def files + files / !/usr/lib/debug !/usr/src/debug end - def configfiles - end + configfiles = end template LIBS summary = Library files of %{thisapp}. description = Runtime library files of the package %{thisapp}. - def files + files /%{lib}/*.so.* %{libdir}/lib*.so.* end - def configfiles - end + configfiles = # Linker cache is updated automatically by pakfire. end @@ -43,9 +41,11 @@ packages summary = Development files of %{thisapp}. description = %{summary} - requires = %{name}=%{thisver} + requires + %{name} = %{thisver} + end - def files + files %{bindir}/*-config %{includedir} %{libdir}//*.a @@ -59,8 +59,7 @@ packages %{datadir}/vala end - def configfiles - end + configfiles = end template DEBUGINFO -- 2.39.5