From 60eb658478f9578c3e1b615d376a4d34f53dd8f7 Mon Sep 17 00:00:00 2001 From: José Abílio Oliveira Matos Date: Jul 21 2009 08:44:56 +0000 Subject: - Fix #504413 (remove last newline in FontDataBase) --- diff --git a/grace.spec b/grace.spec index b77adda..3670db3 100644 --- a/grace.spec +++ b/grace.spec @@ -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 - 5.1.22-4 +- Fix #504413 (remove last newline in FontDataBase) + * Tue Feb 24 2009 Fedora Release Engineering - 5.1.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild