Fix crash when mandoc install
This commit is contained in:
parent
fdbde9de48
commit
ad59b68f97
16
groff.spec
16
groff.spec
@ -2,7 +2,7 @@
|
|||||||
%{!?with_x:%global with_x 1}
|
%{!?with_x:%global with_x 1}
|
||||||
Name: groff
|
Name: groff
|
||||||
Version: 1.22.4
|
Version: 1.22.4
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: A typesetting system
|
Summary: A typesetting system
|
||||||
License: GPLv3+ and GFDL and BSD and MIT
|
License: GPLv3+ and GFDL and BSD and MIT
|
||||||
URL: http://www.gnu.org/software/groff/
|
URL: http://www.gnu.org/software/groff/
|
||||||
@ -87,6 +87,12 @@ done
|
|||||||
%install
|
%install
|
||||||
%make_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
|
# 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
|
for file in g{nroff,troff,tbl,pic,eqn,neqn,refer,lookbib,indxbib,soelim} zsoelim; do
|
||||||
ln -s ${file#?} %{buildroot}%{_bindir}/${file}
|
ln -s ${file#?} %{buildroot}%{_bindir}/${file}
|
||||||
@ -283,9 +289,12 @@ make check
|
|||||||
%{_bindir}/post-grohtml
|
%{_bindir}/post-grohtml
|
||||||
%{_bindir}/pre-grohtml
|
%{_bindir}/pre-grohtml
|
||||||
%{_bindir}/preconv
|
%{_bindir}/preconv
|
||||||
%{_bindir}/soelim
|
%ghost %{_bindir}/soelim
|
||||||
|
%{_bindir}/soelim.%{name}
|
||||||
%{_bindir}/tbl
|
%{_bindir}/tbl
|
||||||
%{_bindir}/troff
|
%{_bindir}/troff
|
||||||
|
%ghost %{_mandir}/man1/soelim.1*
|
||||||
|
%{_mandir}/man1/soelim.%{name}.*
|
||||||
%{_bindir}/gnroff
|
%{_bindir}/gnroff
|
||||||
%{_bindir}/gtroff
|
%{_bindir}/gtroff
|
||||||
%{_bindir}/gtbl
|
%{_bindir}/gtbl
|
||||||
@ -320,6 +329,9 @@ make check
|
|||||||
%{_infodir}/groff.info*
|
%{_infodir}/groff.info*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.22.4-10
|
||||||
- rebuild for next release
|
- rebuild for next release
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user