summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2014-09-24 17:23:41 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-10-26 15:56:31 +0100
commit5e542555bda348a6ac3069dc51a1d79ce3e847d6 (patch)
tree12f544c74a6b8e9ea06243c4804d450eeb73c76a
parentd367f18ac67d878718a52027c8c2df07c0eb8433 (diff)
enums: Add enum/definition for Fedora 21
-rw-r--r--cerbero/enums.py1
-rw-r--r--cerbero/utils/__init__.py2
-rw-r--r--recipes/glib.recipe1
-rw-r--r--recipes/gtk+3.recipe1
-rw-r--r--recipes/gtk.recipe1
5 files changed, 6 insertions, 0 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py
index 33aac8b5..b6564cb9 100644
--- a/cerbero/enums.py
+++ b/cerbero/enums.py
@@ -73,6 +73,7 @@ class DistroVersion:
FEDORA_18 = 'fedora_18'
FEDORA_19 = 'fedora_19'
FEDORA_20 = 'fedora_20'
+ FEDORA_21 = 'fedora_21'
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 f16c7a61..d5fc2eb5 100644
--- a/cerbero/utils/__init__.py
+++ b/cerbero/utils/__init__.py
@@ -168,6 +168,8 @@ def system_info():
distro_version = DistroVersion.FEDORA_19
elif d[1] == '20':
distro_version = DistroVersion.FEDORA_20
+ elif d[1] == '21':
+ distro_version = DistroVersion.FEDORA_21
elif d[1].startswith('6.'):
distro_version = DistroVersion.REDHAT_6
else:
diff --git a/recipes/glib.recipe b/recipes/glib.recipe
index 751b5558..06ff81b9 100644
--- a/recipes/glib.recipe
+++ b/recipes/glib.recipe
@@ -160,6 +160,7 @@ class Recipe(recipe.Recipe):
DistroVersion.FEDORA_18,
DistroVersion.FEDORA_19,
DistroVersion.FEDORA_20,
+ DistroVersion.FEDORA_21,
DistroVersion.REDHAT_6,
]:
if self.config.target_arch == Architecture.X86_64:
diff --git a/recipes/gtk+3.recipe b/recipes/gtk+3.recipe
index fe606bb8..c43e297c 100644
--- a/recipes/gtk+3.recipe
+++ b/recipes/gtk+3.recipe
@@ -129,6 +129,7 @@ class Recipe(recipe.Recipe):
DistroVersion.FEDORA_18,
DistroVersion.FEDORA_19,
DistroVersion.FEDORA_20,
+ DistroVersion.FEDORA_21,
DistroVersion.REDHAT_6,
]:
if self.config.target_arch == Architecture.X86_64:
diff --git a/recipes/gtk.recipe b/recipes/gtk.recipe
index 081cb7be..41d2bec4 100644
--- a/recipes/gtk.recipe
+++ b/recipes/gtk.recipe
@@ -119,6 +119,7 @@ class Recipe(recipe.Recipe):
DistroVersion.FEDORA_18,
DistroVersion.FEDORA_19,
DistroVersion.FEDORA_20,
+ DistroVersion.FEDORA_21,
DistroVersion.REDHAT_6,
]:
if self.config.target_arch == Architecture.X86_64: