回退 'Pull Request !53 : Fix crash when mandoc install'

This commit is contained in:
gaoruoshu 2024-03-28 08:17:56 +00:00 committed by Gitee
parent a351ea5101
commit c8668c5f88
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <lilong@kylinos.cn> - 1.22.4-11
- Fix crash when mandoc install
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.22.4-10
- rebuild for next release