Hello community,

here is the log from the commit of package ghostscript-fonts-grops for 
openSUSE:Factory checked in at 2018-04-30 22:54:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts-grops (Old)
 and      /work/SRC/openSUSE:Factory/.ghostscript-fonts-grops.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghostscript-fonts-grops"

Mon Apr 30 22:54:00 2018 rev:6 rq:601823 version:1.22.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghostscript-fonts-grops/ghostscript-fonts-grops.changes
  2016-02-09 13:31:36.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghostscript-fonts-grops.new/ghostscript-fonts-grops.changes
     2018-04-30 22:56:35.909584601 +0200
@@ -1,0 +2,10 @@
+Fri Apr 27 07:03:13 UTC 2018 - [email protected]
+
+- expand groff_version macro
+
+-------------------------------------------------------------------
+Fri Apr 27 06:47:46 UTC 2018 - [email protected]
+
+- fix factory build
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghostscript-fonts-grops.spec ++++++
--- /var/tmp/diff_new_pack.yycZrX/_old  2018-04-30 22:56:36.809551762 +0200
+++ /var/tmp/diff_new_pack.yycZrX/_new  2018-04-30 22:56:36.813551616 +0200
@@ -30,6 +30,9 @@
 BuildArch:      noarch
 BuildRequires:  fontforge
 BuildRequires:  ghostscript
+%if 0%{?suse_version} > 1320
+BuildRequires:  ghostscript-fonts-std
+%endif
 BuildRequires:  groff-full
 %requires_eq    groff
 
@@ -41,8 +44,9 @@
 %build
 %define gs_fonts %{_datadir}/ghostscript/fonts
 %define import_font() ln -s -T "%{gs_fonts}/%1.afm" "%2.afm" && pfbtopfa 
"%{gs_fonts}/%1.pfb" "devps/%1.pfa"
-
-cp -t. '%{_datadir}'/ghostscript/*/doc/COPYING
+%define gs_version %(gs --version)
+%define gs_docdir %(if [ -d "%{_datadir}/ghostscript/%{gs_version}/doc" ] ; 
then echo "%{_datadir}/ghostscript/%{gs_version}/doc" ; else echo 
"%{_datadir}/doc/ghostscript/%{gs_version}"; fi)
+cp -t. %{gs_docdir}/COPYING
 mkdir devps
 while read fn fa
 # Grops font generator expects conventional font file names; 
@@ -66,6 +70,7 @@
 done >>devps/download
 
 %install
+%define groff_version %(groff -v | head -n 1 | sed 's/.*\s//')
 target="%{buildroot}%{_datadir}/groff/%{groff_version}/font/gs"
 install -d "${target}"
 mv "-t${target}" devps


Reply via email to