public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.3: - Remove dependency on chkfontpath, thanks to ajax for the patch. (#252277)
Date: Sat, 17 Oct 2026 16:20:14 GMT	[thread overview]
Message-ID: <179225401434.1.12559090055086943076.rpms-grace-946566609bd6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10.3
Commit : 946566609bd68dcb03618b8bf7f464fe43a61415
Author : José Abílio Oliveira Matos <jamatos@fedoraproject.org>
Date   : 2007-09-27T16:16:02+00:00
Stats  : +10/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/946566609bd68dcb03618b8bf7f464fe43a61415?branch=epel10.3

Log:
- Remove dependency on chkfontpath, thanks to ajax for the patch. (#252277)

---
diff --git a/grace.spec b/grace.spec
index c3f116f..ba307a3 100644
--- a/grace.spec
+++ b/grace.spec
@@ -1,6 +1,9 @@
+%define _x11fontdir %{_datadir}/X11/fonts
+%define catalogue /etc/X11/fontpath.d
+
 Name:           grace
 Version:        5.1.21
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPLv2+
@@ -28,8 +31,6 @@ BuildRequires: libXpm-devel
 
 Requires:	nedit
 Requires:	htmlview
-Requires(post): chkfontpath
-Requires(postun): chkfontpath
 
 %description
 Grace is a Motif application for two-dimensional data visualization.
@@ -129,13 +130,14 @@ desktop-file-install --vendor fedora --delete-original    \
     --add-category Graphics	                            \
     %{buildroot}%{_datadir}/applications/%{name}.desktop
 
+mkdir -p $RPM_BUILD_ROOT%{catalogue}
+ln -sf %{_datadir}/%{name}/type1 $RPM_BUILD_ROOT%{catalogue}/%{name}-type1
 
 %clean
 rm -rf %{buildroot}
 
 
 %post
-%{_sbindir}/chkfontpath -q -a %{_datadir}/%{name}/fonts/type1
 touch --no-create %{_datadir}/icons/hicolor || :
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
    %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
@@ -143,7 +145,6 @@ fi
 
 
 %postun
-%{_sbindir}/chkfontpath -q -r %{_datadir}/%{name}/fonts/type1
 touch --no-create %{_datadir}/icons/hicolor || :
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
    %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
@@ -163,6 +164,7 @@ fi
 %{_datadir}/applications/*
 %{_datadir}/icons/hicolor/*/*/*
 %{_mandir}/man*/*
+%{catalogue}/%{name}-type1
 
 
 %files devel
@@ -175,6 +177,9 @@ fi
 
 
 %changelog
+* Thu Sep 27 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.21-3
+- Remove dependency on chkfontpath, thanks to ajax for the patch. (#252277)
+
 * Tue Aug 28 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.21-2
 - License fix, rebuild for devel (F8).
 

                 reply	other threads:[~2026-10-17 16:20 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=179225401434.1.12559090055086943076.rpms-grace-946566609bd6@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