[lxappearance] - Update to 0.5.0

Christoph Wickert cwickert at fedoraproject.org
Tue Oct 12 22:42:06 UTC 2010


commit b924049e7ec448a2b4998679c90a476efe47ed4a
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Wed Oct 13 00:42:11 2010 +0200

    - Update to 0.5.0

 .gitignore        |    1 +
 lxappearance.spec |   22 +++++++++++++++-------
 sources           |    2 +-
 3 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9eb55e1..4e2b5e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 lxappearance-0.4.0.tar.gz
 /lxappearance-20100903gitf0945814.tar.bz2
+/lxappearance-0.5.0.tar.gz
diff --git a/lxappearance.spec b/lxappearance.spec
index ee9f906..e4f4929 100644
--- a/lxappearance.spec
+++ b/lxappearance.spec
@@ -1,8 +1,10 @@
-%global git_snapshot 1
-%global git_rev f0945814186b2903c9899e8d91e640e3341fd2b9
-%global git_date 20100903
+# review at https://bugzilla.redhat.com/show_bug.cgi?id=442269
+
+%global git_snapshot 0
 
 %if 0%{?git_snapshot}
+%global git_rev f0945814186b2903c9899e8d91e640e3341fd2b9
+%global git_date 20100903
 %global git_short %(echo %{git_rev} | cut -c-8)
 %global git_version %{git_date}git%{git_short}
 %endif
@@ -14,14 +16,17 @@
  
 Name:           lxappearance
 Version:        0.5.0
-Release:        0.1%{?git_snapshot:.%{?git_version}}%{?dist}
+Release:        1%{?git_version:.%{?git_version}}%{?dist}
 Summary:        Feature-rich GTK+ theme switcher for LXDE
 
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            http://lxde.org/
-#Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+%if 0%{?git_snapshot}
 Source0:        %{name}-%{?git_version}.tar.bz2
+%else
+Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel > 2.6, gettext, intltool, desktop-file-utils
@@ -47,11 +52,11 @@ for LXAppearance.
 
 
 %prep
-%setup -q %{?git_snapshot:-n %{name}}
+%setup -q %{?git_version:-n %{name}}
 
 
 %build
-%{?git_snapshot:sh autogen.sh}
+%{?git_version:sh autogen.sh}
 %configure
 make %{?_smp_mflags}
 
@@ -86,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Oct 13 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.5.0-1
+- Update to 0.5.0
+
 * Fri Sep 04 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.5.0-0.1.20100903gitf0945814
 - Update to GIT preview of 0.5.0
 
diff --git a/sources b/sources
index e9649ed..4da0031 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-963c0e98f3b567b5fd4cbe3e88689aac  lxappearance-20100903gitf0945814.tar.bz2
+7eabab6f4a358dbc6a84e260a0e7f6c2  lxappearance-0.5.0.tar.gz


More information about the scm-commits mailing list