From c8668c5f880fbbf842a3158151d1b21865e8bab9 Mon Sep 17 00:00:00 2001 From: gaoruoshu Date: Thu, 28 Mar 2024 08:17:56 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!53=20:?= =?UTF-8?q?=20Fix=20crash=20when=20mandoc=20install'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- groff.spec | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/groff.spec b/groff.spec index 180a962..f37d100 100644 --- a/groff.spec +++ b/groff.spec @@ -2,7 +2,7 @@ %{!?with_x:%global with_x 1} Name: groff Version: 1.22.4 -Release: 11 +Release: 10 Summary: A typesetting system License: GPLv3+ and GFDL and BSD and MIT URL: http://www.gnu.org/software/groff/ @@ -87,12 +87,6 @@ done %install %make_install -#rename files for alternative usage -mv %{buildroot}%{_bindir}/soelim %{buildroot}%{_bindir}/soelim.%{name} -touch %{buildroot}%{_bindir}/soelim -mv %{buildroot}%{_mandir}/man1/soelim.1 %{buildroot}%{_mandir}/man1/soelim.%{name}.1 -touch %{buildroot}%{_mandir}/man1/soelim.1 - # some binaries need alias with 'g' or 'z' prefix for file in g{nroff,troff,tbl,pic,eqn,neqn,refer,lookbib,indxbib,soelim} zsoelim; do ln -s ${file#?} %{buildroot}%{_bindir}/${file} @@ -289,12 +283,9 @@ make check %{_bindir}/post-grohtml %{_bindir}/pre-grohtml %{_bindir}/preconv -%ghost %{_bindir}/soelim -%{_bindir}/soelim.%{name} +%{_bindir}/soelim %{_bindir}/tbl %{_bindir}/troff -%ghost %{_mandir}/man1/soelim.1* -%{_mandir}/man1/soelim.%{name}.* %{_bindir}/gnroff %{_bindir}/gtroff %{_bindir}/gtbl @@ -329,9 +320,6 @@ make check %{_infodir}/groff.info* %changelog -* Fri Dec 22 2023 lilong - 1.22.4-11 -- Fix crash when mandoc install - * Tue Oct 25 2022 yanglongkang - 1.22.4-10 - rebuild for next release