From: Michael Tremer Date: Sat, 18 Feb 2012 21:21:32 +0000 (+0100) Subject: Update syntax of macro files. X-Git-Tag: 0.9.20~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b0486b7f452e048e18ec850f9c66c19f75a2d85;p=pakfire.git Update syntax of macro files. No functional changes. --- 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