From 65c1d226a8de72c2488a4ffb8ad3171c59c2f57e Mon Sep 17 00:00:00 2001
From: Haikel Guemar <hguemar@fedoraproject.org>
Date: Mon, 12 Sep 2016 23:38:17 +0200
Subject: [PATCH] Add %upstream_version fallback macros

Change-Id: Iff582b40ccd013063dc9244629ff2e1f8390c337
---
 python-magnumclient.spec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/python-magnumclient.spec b/python-magnumclient.spec
index 589ad5c..a858fc1 100644
--- a/python-magnumclient.spec
+++ b/python-magnumclient.spec
@@ -1,3 +1,4 @@
+%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
 %global sname python-magnumclient
 %global pname magnumclient
 
-- 
GitLab