From 49de73a263ac1c575d9d156f8a0428da72e4eb16 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Jan 19 2021 07:32:17 +0000 Subject: make eln changes - remove dependency on ImageMagick and html2ps --- diff --git a/a2ps.spec b/a2ps.spec index c97c9b2..6033c21 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,7 +1,7 @@ Summary: Converts text and other types of files to PostScript Name: a2ps Version: 4.14 -Release: 46%{?dist} +Release: 47%{?dist} License: GPLv3+ Source0: http://ftp.gnu.org/gnu/a2ps/%{name}-%{version}.tar.gz Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz @@ -41,19 +41,26 @@ Patch40: a2ps-CVE-2014-0466.patch Patch41: a2ps-define-texinfo-enc.patch BuildRequires: gperf BuildRequires: emacs, flex, libtool, texinfo, groff +%if 0%{?rhel} <= 8 || 0%{?fedora} BuildRequires: ImageMagick +BuildRequires: html2ps +%endif BuildRequires: groff-perl BuildRequires: cups BuildRequires: gettext, bison -BuildRequires: psutils, texlive-dvips, texinfo, texlive-latex, html2ps +BuildRequires: psutils, texlive-dvips, texinfo, texlive-latex # gcc and make no longer in buildroot by default BuildRequires: gcc BuildRequires: make # instead of gv, xdg-open should certainly be used #BuildRequires: gv Url: http://www.gnu.org/software/a2ps/ -Requires: psutils, ImageMagick, texinfo-tex, gzip, bzip2, groff-perl -Requires: texlive-dvips, texlive-latex, texlive-collection-fontsrecommended, file, html2ps, psutils-perl +Requires: psutils, texinfo-tex, gzip, bzip2, groff-perl +%if 0%{?rhel} <= 8 || 0%{?fedora} +Requires: ImageMagick +Requires: html2ps +%endif +Requires: texlive-dvips, texlive-latex, texlive-collection-fontsrecommended, file, psutils-perl # for hebrew support, path set. # culmus-fonts # And certainly other font sets for other languages may be needed @@ -277,6 +284,9 @@ exit 0 %{_emacs_sitelispdir}/%{name} %changelog +* Mon Jan 18 2021 Zdenek Dohnal - 4.14-47 +- make eln changes - remove dependency on ImageMagick and html2ps + * Thu Nov 05 2020 Zdenek Dohnal - 4.14-46 - make nor gcc are in buildroot anymore