Hello community,
here is the log from the commit of package html2ps for openSUSE:Factory checked
in at 2017-05-22 10:46:33
Comparing /work/SRC/openSUSE:Factory/html2ps (Old)
and /work/SRC/openSUSE:Factory/.html2ps.new (New)
Package is "html2ps"
Mon May 22 10:46:33 2017 rev:17 rq:494789 version:1.0b5
Changes:
--- /work/SRC/openSUSE:Factory/html2ps/html2ps.changes 2014-10-29
21:09:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.html2ps.new/html2ps.changes 2017-05-22
10:46:37.084232570 +0200
@@ -1,0 +2,6 @@
+Fri May 12 07:00:53 UTC 2017 - wer...@suse.de
+
+- Add patch html2ps-1.0b5-opt.diff
+ to fix location of configuration files boo#778426
+
+---
New:
html2ps-1.0b5-opt.diff
Other differences:
--
++ html2ps.spec ++
--- /var/tmp/diff_new_pack.X3zhjD/_old 2017-05-22 10:46:37.748138996 +0200
+++ /var/tmp/diff_new_pack.X3zhjD/_new 2017-05-22 10:46:37.752138433 +0200
@@ -1,7 +1,7 @@
#
# spec file for package html2ps
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
Source0:http://user.it.uu.se/~jan/%name-%version.tar.gz
Source1:html2psrc
Patch0: %{name}-%{version}-open.diff
+Patch1: %{name}-%{version}-opt.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ImageMagick
BuildRequires: ghostscript-fonts-std
@@ -48,46 +49,41 @@
* Many ways to control the appearance; this is mostly done using
configuration files.
-
* Support for processing multiple documents, can be done
automatically by recursively following links.
-
* A table of contents can be generated, either from the links in a
document or automatically from document headings.
-
* Configurable page headers and footers that can, for example,
contain document title, URL, page number, current heading, and
date.
-
* Automatic hyphenation and text justification can be selected.
-
-
-Authors:
-
-Jan Karrman
-Jean-Philippe Argaud
-
%prep
%setup
%patch0
+%patch1
%build
%install
-install -d -m755 $RPM_BUILD_ROOT/%{_bindir}/
-install -d -m755 $RPM_BUILD_ROOT/%{_prefix}/lib/html2ps/
-install -d -m755 $RPM_BUILD_ROOT/%{_mandir}/man{1,5}/
-install -m755 html2ps $RPM_BUILD_ROOT/%{_bindir}/
-install -m644 %{S:1} hyphen.tex $RPM_BUILD_ROOT/%{_prefix}/lib/html2ps/
-install -m644 html2ps.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
-install -m644 html2psrc.5 $RPM_BUILD_ROOT/%{_mandir}/man5/
+install -d -m755 %{buildroot}/%{_bindir}/
+install -d -m755 %{buildroot}/%{_sysconfdir}/
+install -d -m755 %{buildroot}/%{_prefix}/lib/html2ps/
+install -d -m755 %{buildroot}/%{_mandir}/man{1,5}/
+install -m755 html2ps %{buildroot}/%{_bindir}/
+install -m755 contrib/xhtml2ps/xhtml2ps %{buildroot}/%{_bindir}/
+install -m644 %{S:1} %{buildroot}/%{_sysconfdir}/
+install -m644 hyphen.tex %{buildroot}/%{_prefix}/lib/html2ps/
+install -m644 html2ps.1 %{buildroot}/%{_mandir}/man1/
+install -m644 html2psrc.5 %{buildroot}/%{_mandir}/man5/
%files
%defattr(-, root, root)
-%doc COPYING README html2ps.html contrib/xhtml2ps/xhtml2ps
+%doc COPYING README html2ps.html
+%config %{_sysconfdir}/html2psrc
%doc %{_mandir}/man?/*
%{_bindir}/html2ps
+%{_bindir}/xhtml2ps
%{_prefix}/lib/html2ps/
%changelog
++ html2ps-1.0b5-opt.diff ++
---
html2ps |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- html2ps
+++ html2ps 2017-05-12 07:20:11.170020495 +
@@ -26,8 +26,8 @@ eval 'exec perl -S $0 "$@"'
# Set the name of the global configuration file. See the installation notes
# and manual page for more details on configuration files.
-$globrc='/opt/misc/lib/html2ps/html2psrc';
-$ug='/opt/misc/lib/html2ps/html2ps.html';
+$globrc='/etc/html2psrc';
+$ug='/usr/share/doc/packages/html2ps/html2ps.html';
$conf=<<'EOR';
@html2ps {