public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.2: - Fix overzealous fix for bug 504413 (fixes bug 568559).
Date: Sat, 17 Oct 2026 16:19:02 GMT [thread overview]
Message-ID: <179225394220.1.7261558955769960158.rpms-grace-2f9234c473d8@fedoraproject.org> (raw)
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)
reply other threads:[~2026-10-17 16:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179225394220.1.7261558955769960158.rpms-grace-2f9234c473d8@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox