Accepting request 750775 from home:dimstar:Factory

- Add psgml-texinfo-6.7.patch: Fix build with texinfo 6.7, which
  defaults to UTF-8 unless differently specified.

OBS-URL: https://build.opensuse.org/request/show/750775
OBS-URL: https://build.opensuse.org/package/show/Publishing/psgml?expand=0&rev=20
This commit is contained in:
Martin Pluskal 2019-11-25 15:22:20 +00:00 committed by Git OBS Bridge
parent 193b9d87eb
commit ea5c39be42
3 changed files with 23 additions and 6 deletions

9
psgml-texinfo-6.7.patch Normal file
View File

@ -0,0 +1,9 @@
diff -ur psgml-1.4.1.orig/psgml.texi psgml-1.4.1/psgml.texi
--- psgml-1.4.1.orig/psgml.texi 2013-07-27 15:03:45.000000000 +0200
+++ psgml-1.4.1/psgml.texi 2019-11-25 15:57:56.928114579 +0100
@@ -1,4 +1,5 @@
\input texinfo @c -*-texinfo-*-
+@documentencoding ISO-8859-1
@c %**start of header
@setfilename psgml.info
@settitle psgml

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 25 14:59:06 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Add psgml-texinfo-6.7.patch: Fix build with texinfo 6.7, which
defaults to UTF-8 unless differently specified.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 23 13:20:56 UTC 2018 - ke@suse.com Mon Jul 23 13:20:56 UTC 2018 - ke@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package psgml # spec file for package psgml
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LLC.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -25,7 +25,7 @@ BuildRequires: unzip
%define tdtd tdtd.zip %define tdtd tdtd.zip
Requires: emacs_program Requires: emacs_program
Summary: Emacs Add-On to edit SGML/XML documents Summary: Emacs Add-On to edit SGML/XML documents
License: GPL-2.0+ and SUSE-Public-Domain License: GPL-2.0-or-later AND SUSE-Public-Domain
Group: Productivity/Editors/Emacs Group: Productivity/Editors/Emacs
Version: 1.4.1 Version: 1.4.1
Release: 0 Release: 0
@ -47,9 +47,10 @@ Patch5: psgml-xxml-namespace-face.diff
Patch6: tdtd-dtd-patch Patch6: tdtd-dtd-patch
Patch7: xxml-indentation.diff Patch7: xxml-indentation.diff
Patch8: flavour.patch Patch8: flavour.patch
Patch9: psgml-texinfo-6.7.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
Url: http://sourceforge.net/projects/psgml/ URL: http://sourceforge.net/projects/psgml/
PreReq: %install_info_prereq PreReq: %install_info_prereq
%description %description
@ -77,6 +78,7 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch -p1 %patch -p1
%patch9 -p1
cp -p %{SOURCE1} . cp -p %{SOURCE1} .
# xxml # xxml
mkdir xxml mkdir xxml
@ -154,7 +156,7 @@ ln -f dot_emacs tdtd.dot.emacs
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/psgml-api.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/psgml-api.info.gz
%postun %preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/psgml-api.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/psgml-api.info.gz
@ -168,7 +170,7 @@ rm -rf $RPM_BUILD_ROOT
%doc suse-start-psgml.el %doc suse-start-psgml.el
%doc psgml-jade %doc psgml-jade
%doc tdtd-readme.txt tdtd-tutorial.txt tdtd.dot.emacs %doc tdtd-readme.txt tdtd-tutorial.txt tdtd.dot.emacs
# %config %%{_prefix}/share/emacs/site-lisp/suse-start-psgml.el # %%config %%{_prefix}/share/emacs/site-lisp/suse-start-psgml.el
%{_prefix}/share/emacs/site-lisp/psgml %{_prefix}/share/emacs/site-lisp/psgml
%doc %{_infodir}/psgml-api.info* %doc %{_infodir}/psgml-api.info*
%doc %{_infodir}/psgml.info* %doc %{_infodir}/psgml.info*