[packages/fontforge] - fix shebangs - rel 3
baggins
baggins at pld-linux.org
Tue Mar 17 23:50:49 CET 2020
commit 69dd669d05d45f604a20f81dd1bf0c0d5527485e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Mar 17 23:50:25 2020 +0100
- fix shebangs
- rel 3
fontforge.spec | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/fontforge.spec b/fontforge.spec
index 10d5e50..bb371ee 100644
--- a/fontforge.spec
+++ b/fontforge.spec
@@ -7,7 +7,7 @@ Summary: An outline font editor
Summary(pl.UTF-8): Edytor fontów rysowanych
Name: fontforge
Version: 20170731
-Release: 2
+Release: 3
License: GPL v3+ with BSD parts
Group: X11/Applications/Publishing
#Source0Download: https://github.com/fontforge/fontforge/releases
@@ -139,6 +139,20 @@ Wiązania Pythona do bibliotek FontForge.
%patch0 -p1
%patch1 -p1
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+ pycontrib/gdraw/__init__.py \
+ pycontrib/gdraw/gdraw.py \
+ pycontrib/graphicore/ipython_view.py \
+ pycontrib/graphicore/shell.py
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+fontforge(\s|$),#!%{_bindir}/fontforge\1,' \
+ pycontrib/simple/expand-a.py \
+ pycontrib/simple/load-font-and-show-name.py \
+ pycontrib/collab/sessionjoin-and-change-c.py \
+ pycontrib/collab/sessionjoin-and-save-to-out.sfd.py \
+ pycontrib/collab/sessionstart.py \
+ pycontrib/collab/web-test-collab.py
+
%build
%{__libtoolize}
%{__aclocal} -I m4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fontforge.git/commitdiff/69dd669d05d45f604a20f81dd1bf0c0d5527485e
More information about the pld-cvs-commit
mailing list