public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.3: - Fix #504413 (remove last newline in FontDataBase)
@ 2026-10-17 16:20 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-17 16:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10.3
Commit : 60eb658478f9578c3e1b615d376a4d34f53dd8f7
Author : José Abílio Oliveira Matos <jamatos@fedoraproject.org>
Date   : 2009-07-21T08:44:56+00:00
Stats  : +6/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/60eb658478f9578c3e1b615d376a4d34f53dd8f7?branch=epel10.3

Log:
- 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 <jamatos@fc.up.pt> - 5.1.22-4
+- Fix #504413 (remove last newline in FontDataBase)
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.22-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-17 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 16:20 [rpms/grace] epel10.3: - Fix #504413 (remove last newline in FontDataBase) 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox