diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2013-10-14 13:49:31 -0300 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-02-06 10:01:40 +0100 |
commit | 5e2cba9dbff3cc78730c9a3cd7c42051841266ee (patch) | |
tree | 3cab5fac3041c698cae6fb1f22f687d932077c58 | |
parent | 5070540f4ebbd2525decdf8ef6612116b2159a9a (diff) |
Add support to fedora 20
-rw-r--r-- | cerbero/enums.py | 1 | ||||
-rw-r--r-- | cerbero/utils/__init__.py | 2 | ||||
-rw-r--r-- | recipes/glib.recipe | 1 | ||||
-rw-r--r-- | recipes/gtk.recipe | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py index 4cbb2b5d..92aef5aa 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -64,6 +64,7 @@ class DistroVersion: FEDORA_17 = 'fedora_17' FEDORA_18 = 'fedora_18' FEDORA_19 = 'fedora_19' + FEDORA_20 = 'fedora_20' REDHAT_6 = 'redhat_6' OPENSUSE_12_1 = 'opensuse_12_1' OPENSUSE_12_2 = 'opensuse_12_2' diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index 003294ff..8f1f3ed4 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -164,6 +164,8 @@ def system_info(): distro_version = DistroVersion.FEDORA_18 elif d[1] == '19': distro_version = DistroVersion.FEDORA_19 + elif d[1] == '20': + distro_version = DistroVersion.FEDORA_20 elif d[1].startswith('6.'): distro_version = DistroVersion.REDHAT_6 else: diff --git a/recipes/glib.recipe b/recipes/glib.recipe index 64f6be9c..097ecbdc 100644 --- a/recipes/glib.recipe +++ b/recipes/glib.recipe @@ -150,6 +150,7 @@ class Recipe(recipe.Recipe): DistroVersion.FEDORA_17, DistroVersion.FEDORA_18, DistroVersion.FEDORA_19, + DistroVersion.FEDORA_20, DistroVersion.REDHAT_6, ]: if self.config.target_arch == Architecture.X86_64: diff --git a/recipes/gtk.recipe b/recipes/gtk.recipe index 4ec35298..c9124323 100644 --- a/recipes/gtk.recipe +++ b/recipes/gtk.recipe @@ -109,6 +109,7 @@ class Recipe(recipe.Recipe): DistroVersion.FEDORA_17, DistroVersion.FEDORA_18, DistroVersion.FEDORA_19, + DistroVersion.FEDORA_20, DistroVersion.REDHAT_6, ]: if self.config.target_arch == Architecture.X86_64: |