rpms/mfiler3/F-9 mfiler3-2.0.8a-upgrade-compat.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 mfiler3.spec, 1.9, 1.10 sources, 1.9, 1.10

Mamoru Tasaka mtasaka at fedoraproject.org
Thu Sep 25 16:43:45 UTC 2008


Author: mtasaka

Update of /cvs/extras/rpms/mfiler3/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11640/F-9

Modified Files:
	.cvsignore mfiler3.spec sources 
Added Files:
	mfiler3-2.0.8a-upgrade-compat.patch 
Log Message:
* Fri Sep 26 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.0.8a-1
- 2.0.8a
- More better upgrade compat patch


mfiler3-2.0.8a-upgrade-compat.patch:

--- NEW FILE mfiler3-2.0.8a-upgrade-compat.patch ---
--- src/etc/.mfiler3.rb.debug	2008-09-25 09:17:44.000000000 +0900
+++ src/etc/.mfiler3.rb	2008-09-26 01:29:38.000000000 +0900
@@ -758,7 +758,28 @@
     f.close
 end
 
+##############################################################################
+# upgrade時の.mf3infoファイルの更新
+##############################################################################
+def upgrade_mf3info
+	needed_line = 40
+	num_line = 0
+	f = open ENV['INFO_FNAME'], "r+"
+
+	while num_line < needed_line
+		str = f.gets
+		if ! str
+			f.puts ""
+		end
+		num_line += 1
+    	end
+	f.close
+end
+
+
 if File.exist?(ENV['INFO_FNAME'])
+    upgrade_mf3info
+
     f = open ENV['INFO_FNAME'], "r"
 
     ENV['VIEW_PERMISSION'] = f.gets.chomp!


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mfiler3/F-9/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	13 Sep 2008 17:14:09 -0000	1.9
+++ .cvsignore	25 Sep 2008 16:43:15 -0000	1.10
@@ -1 +1 @@
-mfiler3-2.0.7.tgz
+mfiler3-2.0.8a.tgz


Index: mfiler3.spec
===================================================================
RCS file: /cvs/extras/rpms/mfiler3/F-9/mfiler3.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mfiler3.spec	13 Sep 2008 17:14:09 -0000	1.9
+++ mfiler3.spec	25 Sep 2008 16:43:15 -0000	1.10
@@ -2,8 +2,8 @@
 %define			rubyabi			1.8
 
 Name:		mfiler3
-Version:	2.0.7
-Release:	2%{?dist}
+Version:	2.0.8a
+Release:	1%{?dist}
 Summary:	Two pane file manager under UNIX console
 
 Group:		Applications/Editors
@@ -12,7 +12,7 @@
 Source0:	http://www.geocities.jp/daisuke530221jp/%{name}-%{version}.tgz
 Source10:	mfiler3.sh
 Patch0:		mfiler3-2.0.5-use-external.patch
-Patch1:		mfiler3-2.0.7-upgrade-compat.patch
+Patch1:		mfiler3-2.0.8a-upgrade-compat.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	cmigemo-devel
@@ -97,6 +97,10 @@
 
 
 %changelog
+* Fri Sep 26 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.0.8a-1
+- 2.0.8a
+- More better upgrade compat patch
+
 * Mon Sep 14 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.0.7-2
 - 2.0.7
 - Workaround patch to deal with segv after upgrade


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mfiler3/F-9/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	13 Sep 2008 17:14:09 -0000	1.9
+++ sources	25 Sep 2008 16:43:15 -0000	1.10
@@ -1 +1 @@
-ada5c7ea7dc58840113e5958f89cf16c  mfiler3-2.0.7.tgz
+813e1a9b0b7873e75b11b1552d570594  mfiler3-2.0.8a.tgz




More information about the fedora-extras-commits mailing list