[blinken] cleanup, source0 snippet

Rex Dieter rdieter at fedoraproject.org
Tue Jan 24 14:39:29 UTC 2012


commit 46a3faa1d9d0bcc92bc528989740c00583b7ed51
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Tue Jan 24 08:39:10 2012 -0600

    cleanup, source0 snippet

 .gitignore   |    6 +-----
 blinken.spec |    9 +++++++--
 2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8828c4f..0836d09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,2 @@
-/blinken-4.7.3.tar.bz2
-/blinken-4.7.80.tar.bz2
-/blinken-4.7.90.tar.bz2
-/blinken-4.7.95.tar.bz2
-/blinken-4.7.97.tar.bz2
+/blinken-4.7.4.tar.bz2
 /blinken-4.8.0.tar.bz2
diff --git a/blinken.spec b/blinken.spec
index 71026cd..f01dd4a 100644
--- a/blinken.spec
+++ b/blinken.spec
@@ -6,7 +6,13 @@ Release: 1%{?dist}
 
 License: GPLv2+
 URL:     https://projects.kde.org/projects/kde/kdeedu/%{name}
-Source0: ftp://ftp.kde.org/pub/kde/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}
@@ -21,7 +27,6 @@ Conflicts: kdeedu < 4.7.0-10
 %description
 %{summary}.
 
-
 %prep
 %setup -q
 


More information about the scm-commits mailing list