[step] cleanup, source0 snippet
Rex Dieter
rdieter at fedoraproject.org
Tue Jan 24 14:45:28 UTC 2012
commit 05a324e098ec207442bd77824805a894af304f6b
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Tue Jan 24 08:45:11 2012 -0600
cleanup, source0 snippet
.gitignore | 6 +-----
step.spec | 8 +++++++-
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eab0662..aaa088b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,2 @@
-/step-4.7.3.tar.bz2
-/step-4.7.80.tar.bz2
-/step-4.7.90.tar.bz2
-/step-4.7.95.tar.bz2
-/step-4.7.97.tar.bz2
+/step-4.7.4.tar.bz2
/step-4.8.0.tar.bz2
diff --git a/step.spec b/step.spec
index 822153a..0503bae 100644
--- a/step.spec
+++ b/step.spec
@@ -6,7 +6,13 @@ Release: 1%{?dist}
License: GPLv2+
URL: https://projects.kde.org/projects/kde/kdeedu/%{name}
-Source0: http://download.kde.org/unstable/%{version}/src/%{name}-%{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}/%{version}/src/%{name}-%{version}.tar.bz2
BuildRequires: desktop-file-utils
BuildRequires: kdelibs4-devel >= %{version}
More information about the scm-commits
mailing list