]> git.ipfire.org Git - pakfire.git/commitdiff
Update syntax of macro files.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Feb 2012 21:21:32 +0000 (22:21 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Feb 2012 21:21:32 +0000 (22:21 +0100)
No functional changes.

macros/templates.macro

index 8a1938db89481e5320091050ce058f4fe18dd730..9f448f3f5da52b2f690c3065c2bd7e15820bc7a7 100644 (file)
@@ -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