[kdetoys] cleanup, Source0 snippet
Rex Dieter
rdieter at fedoraproject.org
Tue Jan 24 13:46:42 UTC 2012
commit 597a8817e4f6f7953e2fc4a2816104a4ed7325f4
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Tue Jan 24 07:46:23 2012 -0600
cleanup, Source0 snippet
.gitignore | 5 +----
kdetoys.spec | 21 +++++++++++++--------
2 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d977fbd..45614a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,2 @@
-/kdetoys-4.7.80.tar.bz2
-/kdetoys-4.7.90.tar.bz2
-/kdetoys-4.7.95.tar.bz2
-/kdetoys-4.7.97.tar.bz2
+/kdetoys-4.7.4.tar.bz2
/kdetoys-4.8.0.tar.bz2
diff --git a/kdetoys.spec b/kdetoys.spec
index c53b537..19f65bd 100644
--- a/kdetoys.spec
+++ b/kdetoys.spec
@@ -1,14 +1,19 @@
-Name: kdetoys
-Summary: KDE Toys and Amusements
-Epoch: 7
+Name: kdetoys
+Summary: KDE Toys and Amusements
+Epoch: 7
Version: 4.8.0
Release: 1%{?dist}
-License: GPLv2
-Group: Amusements/Graphics
-URL: http://www.kde.org/
-Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+License: GPLv2
+Group: Amusements/Graphics
+URL: http://www.kde.org/
+%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
# upstream patches
More information about the scm-commits
mailing list