summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2015-10-23 12:41:40 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2015-10-23 12:41:40 -0400
commit451096b99839c82b4e10e6458e7e94a7bf079741 (patch)
treeca6b9a8f7835098ea7ea272e4d744b77b2c5d866
parentfe57efa02ae41199213bc3e7a2d4202b42cb15f2 (diff)
Add enums for Fedora 23
-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
4 files changed, 5 insertions, 0 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py
index 79168376..33dc499d 100644
--- a/cerbero/enums.py
+++ b/cerbero/enums.py
@@ -79,6 +79,7 @@ class DistroVersion:
FEDORA_20 = 'fedora_20'
FEDORA_21 = 'fedora_21'
FEDORA_22 = 'fedora_22'
+ FEDORA_23 = 'fedora_23'
REDHAT_6 = 'redhat_6'
REDHAT_7 = 'redhat_7'
ARCH_ROLLING = 'rolling'
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py
index db5128d9..278d0fff 100644
--- a/cerbero/utils/__init__.py
+++ b/cerbero/utils/__init__.py
@@ -183,6 +183,8 @@ def system_info():
distro_version = DistroVersion.FEDORA_21
elif d[1] == '22':
distro_version = DistroVersion.FEDORA_22
+ elif d[1] == '23':
+ distro_version = DistroVersion.FEDORA_23
elif d[1].startswith('6.'):
distro_version = DistroVersion.REDHAT_6
elif d[1].startswith('7.'):
diff --git a/recipes/glib.recipe b/recipes/glib.recipe
index c9451ec6..cbc353ec 100644
--- a/recipes/glib.recipe
+++ b/recipes/glib.recipe
@@ -169,6 +169,7 @@ class Recipe(recipe.Recipe):
DistroVersion.FEDORA_20,
DistroVersion.FEDORA_21,
DistroVersion.FEDORA_22,
+ DistroVersion.FEDORA_23,
DistroVersion.REDHAT_6,
DistroVersion.REDHAT_7,
]:
diff --git a/recipes/gtk+3.recipe b/recipes/gtk+3.recipe
index 0795ce68..3fa56725 100644
--- a/recipes/gtk+3.recipe
+++ b/recipes/gtk+3.recipe
@@ -145,6 +145,7 @@ class Recipe(recipe.Recipe):
DistroVersion.FEDORA_20,
DistroVersion.FEDORA_21,
DistroVersion.FEDORA_22,
+ DistroVersion.FEDORA_23,
DistroVersion.REDHAT_6,
DistroVersion.REDHAT_7,
]: