Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
Vitezslav Crhonek | eb2aff3963 | |
Vitezslav Crhonek | 119e060205 | |
Vitezslav Crhonek | 5a45b09f78 | |
Vitezslav Crhonek | e1501891e1 | |
Fedora Release Engineering | feedd312b4 | |
Jesse Keating | 974d331691 |
|
@ -0,0 +1,20 @@
|
|||
diff -up texinfo-4.13/makeinfo/sectioning.c.orig texinfo-4.13/makeinfo/sectioning.c
|
||||
--- texinfo-4.13/makeinfo/sectioning.c.orig 2010-11-10 11:24:53.000000000 +0100
|
||||
+++ texinfo-4.13/makeinfo/sectioning.c 2010-11-10 11:25:28.000000000 +0100
|
||||
@@ -256,14 +256,14 @@ current_chapter_number (void)
|
||||
return xstrdup ("");
|
||||
else if (enum_marker == APPENDIX_MAGIC)
|
||||
{
|
||||
- char s[1];
|
||||
+ char s[2];
|
||||
sprintf (s, "%c", numbers[0] + 64);
|
||||
return xstrdup (s);
|
||||
}
|
||||
else
|
||||
{
|
||||
char s[5];
|
||||
- sprintf (s, "%d", numbers[0]);
|
||||
+ sprintf (s, "%4d", numbers[0]);
|
||||
return xstrdup (s);
|
||||
}
|
||||
}
|
23
texinfo.spec
23
texinfo.spec
|
@ -3,7 +3,7 @@
|
|||
Summary: Tools needed to create Texinfo format documentation files
|
||||
Name: texinfo
|
||||
Version: 4.13a
|
||||
Release: 11%{?dist}
|
||||
Release: 13%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Publishing
|
||||
Url: http://www.gnu.org/software/texinfo/
|
||||
|
@ -19,6 +19,8 @@ Patch3: texinfo-4.13a-powerpc.patch
|
|||
Patch4: texinfo-4.13a-help-index-segfault.patch
|
||||
# Patch5: already upstream, bz641534
|
||||
Patch5: texinfo-4.13a-texi2dvi-regexp.patch
|
||||
# Patch6: already upstream, bz651314
|
||||
Patch6: texinfo-4.13a-makeinfo-sectioning.patch
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
@ -66,6 +68,7 @@ for printing using TeX.
|
|||
%patch3 -p1 -b .powerpc
|
||||
%patch4 -p1 -b .help-index-segfault
|
||||
%patch5 -p1 -b .texi2dvi-regexp
|
||||
%patch6 -p1 -b .makeinfo-sectioning
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
@ -95,14 +98,14 @@ mv ChangeLog_utf8 ChangeLog
|
|||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%post
|
||||
if [ -f %{_infodir}/texinfo ]; then # --excludedocs?
|
||||
/sbin/install-info %{_infodir}/texinfo %{_infodir}/dir || :
|
||||
if [ -f %{_infodir}/texinfo.gz ]; then # --excludedocs?
|
||||
/sbin/install-info %{_infodir}/texinfo.gz %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
if [ -f %{_infodir}/texinfo ]; then # --excludedocs?
|
||||
/sbin/install-info --delete %{_infodir}/texinfo %{_infodir}/dir || :
|
||||
if [ -f %{_infodir}/texinfo.gz ]; then # --excludedocs?
|
||||
/sbin/install-info --delete %{_infodir}/texinfo.gz %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -165,8 +168,16 @@ fi
|
|||
%{_mandir}/man1/pdftexi2dvi.1*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 11 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-13
|
||||
- Fix missing Texinfo manual in the Directory node
|
||||
Resolves: #662382
|
||||
|
||||
* Wed Nov 10 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-12
|
||||
- Fix get_sectioning_number function problem
|
||||
Resolves: #651314
|
||||
|
||||
* Mon Oct 11 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-11
|
||||
- Fix incopatible regexp with the lates version of egrep in texi2dvi script
|
||||
- Fix incompatible regexp with the latest version of egrep in texi2dvi script
|
||||
Resolves: #641534
|
||||
|
||||
* Tue Aug 31 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-10
|
||||
|
|
Loading…
Reference in New Issue