Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghostscript-fonts-grops for
openSUSE:Factory checked in at 2021-02-02 14:25:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts-grops (Old)
and /work/SRC/openSUSE:Factory/.ghostscript-fonts-grops.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghostscript-fonts-grops"
Tue Feb 2 14:25:06 2021 rev:9 rq:868373 version:1.22.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghostscript-fonts-grops/ghostscript-fonts-grops.changes
2020-09-28 14:30:43.378233938 +0200
+++
/work/SRC/openSUSE:Factory/.ghostscript-fonts-grops.new.28504/ghostscript-fonts-grops.changes
2021-02-02 14:25:12.939349261 +0100
@@ -1,0 +2,5 @@
+Mon Feb 1 10:13:58 UTC 2021 - Andreas Schwab <[email protected]>
+
+- Use rpm.vercmp to compare versions
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghostscript-fonts-grops.spec ++++++
--- /var/tmp/diff_new_pack.xa4ybd/_old 2021-02-02 14:25:13.591350274 +0100
+++ /var/tmp/diff_new_pack.xa4ybd/_new 2021-02-02 14:25:13.595350280 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghostscript-fonts-grops
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,14 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ghostscript-fonts-grops
Version: 1.22.2
Release: 0
-Url: http://www.gnu.org/software/groff/groff.html
+URL: http://www.gnu.org/software/groff/groff.html
Summary: Ghostscript fonts imported to groff for use with grops
License: GPL-2.0-only
Group: Productivity/Publishing/Troff
@@ -47,8 +47,7 @@
%build
%define gs_fonts %{_datadir}/ghostscript/fonts
%define gs_version %(gs --version)
-%define gs_ver %(gs --version | sed "s/\\.//")
-%if %{gs_ver} >= 950
+%if %{lua:print(rpm.vercmp(rpm.expand("%{gs_version}"), "9.50"))} >= 0
%define import_font() ln -s -T "%{gs_fonts}/%1.afm" "%2.afm" && gs -P-
-dNOSAFER -dNODISPLAY -- pfbtopfa.ps %{gs_fonts}/%1.pfb devps/%1.pfa
%else
%define import_font() ln -s -T "%{gs_fonts}/%1.afm" "%2.afm" && pfbtopfa
%{gs_fonts}/%1.pfb devps/%1.pfa