public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.2: - Fix overzealous fix for bug 504413 (fixes bug 568559).
@ 2026-10-17 16:19 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-17 16:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10.2
Commit : 2f9234c473d88f7a92c7e50010e0d470c3941d4b
Author : José Abílio Oliveira Matos <jamatos@fedoraproject.org>
Date   : 2010-04-08T19:28:17+00:00
Stats  : +12/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/2f9234c473d88f7a92c7e50010e0d470c3941d4b?branch=epel10.2

Log:
- Fix overzealous fix for bug 504413 (fixes bug 568559).

---
diff --git a/grace.spec b/grace.spec
index 7f8a315..8994eac 100644
--- a/grace.spec
+++ b/grace.spec
@@ -3,7 +3,7 @@
 
 Name:           grace
 Version:        5.1.22
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPLv2+
@@ -109,23 +109,23 @@ mkdir -pm 755                               \
 # Let's have some sanity
 #
 pushd %{buildroot}%{_datadir}/%{name}
+
 install -pm 755 bin/*   %{buildroot}%{_bindir}/
 rm -rf bin
-#ln -s %{_bindir} bin
 ln -s ../../bin bin
+
 cp -p lib/*   %{buildroot}%{_libdir}/
 rm -rf lib
-#ln -s %{_libdir} lib
 ln -s ../../%_lib lib
+
 install -pm 644 include/* %{buildroot}%{_includedir}/
 rm -rf include
-#ln -s %{_includedir} include
 ln -s ../../include include
+
 # use fonts from type1fontdir
 rm -rf fonts/type1
 ln -s ../../%{type1fontdir} fonts/type1
 mv fonts/FontDataBase %{buildroot}%{_sysconfdir}/%{name}
-#ln -s %{_sysconfdir}/%{name}/FontDataBase fonts/FontDataBase
 ln -s ../../../../%{_sysconfdir}/%{name}/FontDataBase fonts/FontDataBase
 
 # regenerate %{_sysconfdir}/%{name}/FontDataBase based on what is in
@@ -151,23 +151,22 @@ 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
+# remove empty lines in file (fixes bug 504413)
+sed -i '/^$/d' $FontDataBaseFile
 
 install -pm 644 doc/*.1 %{buildroot}%{_mandir}/man1/
 # doc and example directories are removed from GRACE_HOME and put in %doc
 rm -rf doc
-#ln -s %{_docdir}/%{name}-%{version}/doc doc
 ln -s ../doc/%{name}-%{version}/doc doc
 rm -rf examples
-#ln -s %{_docdir}/%{name}-%{version}/examples examples
 ln -s ../doc/%{name}-%{version}/examples examples
+
 # the convcal source file shouldn't be installed, it is removed here
 rm -f auxiliary/convcal.c
+
 # move config files to %{_sysconfdir} and do symlinks
 for conf in gracerc templates gracerc.user; do
     mv $conf %{buildroot}%{_sysconfdir}/%{name}
-    #ln -s %{_sysconfdir}/%{name}/$conf $conf
     ln -s ../../../%{_sysconfdir}/%{name}/$conf $conf
 done
 popd
@@ -228,6 +227,9 @@ fi
 
 
 %changelog
+* Thu Apr  8 2010 José Matos <jamatos@fc.up.pt> - 5.1.22-7
+- Fix overzealous fix for bug 504413 (fixes bug 568559).
+
 * Thu Nov 19 2009 José Matos <jamatos@fc.up.pt> - 5.1.22-6
 - Add compile option -fPIC (#508888)
 

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

only message in thread, other threads:[~2026-10-17 16:19 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:19 [rpms/grace] epel10.2: - Fix overzealous fix for bug 504413 (fixes bug 568559) 

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