rpms/grace/F-11 grace.spec,1.27,1.28

José Abílio Oliveira Matos jamatos at fedoraproject.org
Tue Jul 21 09:04:54 UTC 2009


Author: jamatos

Update of /cvs/pkgs/rpms/grace/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24801

Modified Files:
	grace.spec 
Log Message:
* Tue Jul 21 2009 José Matos <jamatos at fc.up.pt> - 5.1.22-4
- Fix #504413 (remove last newline in FontDataBase)



Index: grace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/grace/F-11/grace.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- grace.spec	25 Feb 2009 00:52:19 -0000	1.27
+++ grace.spec	21 Jul 2009 09:04:53 -0000	1.28
@@ -3,7 +3,7 @@
 
 Name:           grace
 Version:        5.1.22
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPLv2+
@@ -149,6 +149,8 @@ fontcount=`wc -l $FontDataBaseFile.tmp`
 echo $fontcount | sed 's:%{buildroot}.*::' > $FontDataBaseFile
 cat $FontDataBaseFile.tmp >> $FontDataBaseFile
 rm $FontDataBaseFile.tmp
+# remove last newline in file (fixes bug 504413)
+sed -i ':a;N;$!ba;s/\(.*\)\n/\1/' $FontDataBaseFile
 
 install -pm 644 doc/*.1 %{buildroot}%{_mandir}/man1/
 # doc and example directories are removed from GRACE_HOME and put in %doc
@@ -224,6 +226,9 @@ fi
 
 
 %changelog
+* Tue Jul 21 2009 José Matos <jamatos at fc.up.pt> - 5.1.22-4
+- Fix #504413 (remove last newline in FontDataBase)
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.1.22-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list