[starcal] Updated to 1.9.4
Hedayat Vatankhah
hedayat at fedoraproject.org
Thu Oct 13 16:07:02 UTC 2011
commit 7708b01e360adbdd2c9a9539e7da782927678e8e
Author: Hedayat Vatankhah <hedayat.fwd at gmail.com>
Date: Thu Oct 13 19:36:56 2011 +0330
Updated to 1.9.4
starcal-1.9.3-compilefix.patch | 26 --------------------------
starcal.spec | 12 ++++++------
2 files changed, 6 insertions(+), 32 deletions(-)
---
diff --git a/starcal.spec b/starcal.spec
index fceb356..644c788 100644
--- a/starcal.spec
+++ b/starcal.spec
@@ -1,8 +1,8 @@
%global pkg_name %{name}2
Name: starcal
-Version: 1.9.3
-Release: 2%{?dist}
+Version: 1.9.4
+Release: 1%{?dist}
Summary: A full-featured international calendar written in Python
Group: User Interface/Desktops
@@ -14,7 +14,6 @@ Source1: %{pkg_name}.desktop
Source2: %{pkg_name}-qt.desktop
Source3: extension.js
Source4: metadata.json
-Patch0: %{name}-1.9.3-compilefix.patch
Requires: pygtk2
#Requires(post): chkconfig
@@ -33,10 +32,9 @@ English(Gregorian) calendar
%prep
%setup -q -n %{pkg_name}-%{version}
-%patch0 -p1 -b .compilefix
sed -i.sudo "s/sudo//" locale.d/install
-#find -type f -not -name "*.py" -exec chmod a-x {} \;
+find -type f -name "*.py*" -exec chmod a+x {} \;
find -name "*.py" -exec sh -c 'if ! grep "^#\!" {} &> /dev/null; then \
sed -i -e "1i#!/usr/bin/python" {}; fi' \;
@@ -55,7 +53,6 @@ rm -rf %{buildroot}/etc/init.d/ %{buildroot}%{_prefix}/lib/
rm -rf \
%{buildroot}%{_datadir}/%{pkg_name}/{*install*,README,donate} \
%{buildroot}%{_datadir}/%{pkg_name}/locale.d
-find %{buildroot}%{_datadir}/%{pkg_name} -name "*compilefix" -delete
#mkdir -p %{buildroot}%{_initddir}/
#cp scripts/starcal2d %{buildroot}%{_initddir}
@@ -86,6 +83,9 @@ desktop-file-install \
%{_datadir}/gnome-shell/extensions/*
%changelog
+* Thu Oct 13 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 1.9.4-1
+- Updated to 1.9.4
+
* Thu Jul 28 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 1.9.3-2
- Retain license and about files in share/starcal2/ directory which is
used in the first run
More information about the scm-commits
mailing list