[calligra] fix Source0 URL
Rex Dieter
rdieter at fedoraproject.org
Sun Aug 5 01:49:03 UTC 2012
commit 5324539553ed115754ddb5f504a20b849f7185ac
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Sat Aug 4 20:50:25 2012 -0500
fix Source0 URL
calligra.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/calligra.spec b/calligra.spec
index 8d8aafb..c239df6 100644
--- a/calligra.spec
+++ b/calligra.spec
@@ -19,7 +19,13 @@ Summary: An integrated office suite
License: GPLv2+ and LGPLv2+
URL: http://www.calligra-suite.org/
-Source0: http://download.kde.org/unstable/calligra-%{version}/calligra-%{version}.tar.bz2
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+Source0: http://download.kde.org/%{stable}/calligra-%{version}/calligra-%{version}.tar.bz2
## upstreamable patches
More information about the scm-commits
mailing list