]> git.ipfire.org Git - pakfire.git/blobdiff - python/pakfire/packages/make.py
Merge branch 'master' of ssh://git.ipfire.org/pub/git/oddments/pakfire
[pakfire.git] / python / pakfire / packages / make.py
index f873191a9e753e0dd3e000f4a18e60e25b9596db..b23e82854cf91f3ea548033ed19486c3dc48fd1f 100644 (file)
@@ -183,10 +183,15 @@ class Makefile(MakefileBase):
 
        @property
        def arch(self):
+               return "src"
+
+       @property
+       def supported_arches(self):
                """
-                       This is only used to create the name of the source package.
+                       These are the supported arches. Which means, packages of these
+                       architectures can be built out of this source package.
                """
-               return "src"
+               return self.lexer.get_var("sup_arches", "all")
 
        @property
        def packages(self):