[Saaghar] Update to new upstream version and some cleanups

Hedayat Vatankhah hedayat at fedoraproject.org
Tue Dec 27 23:02:05 UTC 2011


commit fb1f06820fd8169799e83a4acdba998d23a80e3d
Author: Hedayat Vatankhah <hedayat.fwd at gmail.com>
Date:   Wed Dec 28 02:31:12 2011 +0330

    Update to new upstream version and some cleanups

 Saaghar-installfix.patch |   10 ----------
 Saaghar.spec             |   11 +++++++----
 2 files changed, 7 insertions(+), 14 deletions(-)
---
diff --git a/Saaghar-installfix.patch b/Saaghar-installfix.patch
index cb0dd14..8956c44 100644
--- a/Saaghar-installfix.patch
+++ b/Saaghar-installfix.patch
@@ -1,16 +1,6 @@
 diff -up Saaghar/saaghar.pro.installfix Saaghar/saaghar.pro
 --- Saaghar/saaghar.pro.installfix	2011-11-16 12:28:37.248461688 +0330
 +++ Saaghar/saaghar.pro	2011-11-16 12:33:19.643931253 +0330
-@@ -151,9 +151,6 @@ QMAKE_INFO_PLIST = $${SOURCE_DIR}/Info.p
- 
- unix:!macx {
- TARGET = saaghar
--LOG = $$system(mkdir ~/.Pojh)
--LOG += $$system(mkdir ~/.Pojh/Saaghar)
--LOG  += $$system(cp -n $${SOURCE_DIR}/utilities/* ~/.Pojh/Saaghar/)
- 
- PREFIX = /usr
- DESKTOPDIR = $${PREFIX}/share/applications
 @@ -178,15 +175,10 @@ INSTALLS += desktop \
  
  ##installation files
diff --git a/Saaghar.spec b/Saaghar.spec
index 0c7a6f9..7bdbf9a 100644
--- a/Saaghar.spec
+++ b/Saaghar.spec
@@ -1,5 +1,5 @@
 Name:           Saaghar
-Version:        0.9.69
+Version:        1.0.94
 Release:        1%{?dist}
 Summary:        A Cross-Platform Persian Poetry Software
 
@@ -7,8 +7,7 @@ Group:          Applications/Publishing
 License:        GPLv3+
 URL:            http://sourceforge.net/projects/saaghar/
 Source0:        http://downloads.sourceforge.net/saaghar/%{name}-%{version}.tar.gz
-# Fedora specific: do not install doc files and don't try to create a directory
-# in user's home directory. Upstream is notified about the latter.
+# Fedora specific: do not install doc files
 Patch0:         %{name}-installfix.patch
 
 BuildRequires:  qt-devel desktop-file-utils
@@ -38,7 +37,6 @@ This package contains the database for %{name}.
 %setup -q -n %{name}
 %patch0 -p1 -b .installfix
 xz -dc %{SOURCE1} > utilities/ganjoor.s3db
-find -type f -exec chmod a-x {} \;
 
 %build
 qmake-qt4 -config release
@@ -67,6 +65,11 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
 %{_datadir}/saaghar/ganjoor.s3db
 
 %changelog
+* Tue Dec 27 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 1.0.94-1
+- Updated to upstream version 1.0.94
+- Files are not executable anymore, so removed the chmod section
+- Applied patch has become smaller
+
 * Sun Nov 20 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 0.9.69-1
 - Updated to Saaghar version 0.9.69 and db version 59.90.07
 


More information about the scm-commits mailing list