Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package html2text for openSUSE:Factory 
checked in at 2023-08-08 15:54:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/html2text (Old)
 and      /work/SRC/openSUSE:Factory/.html2text.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "html2text"

Tue Aug  8 15:54:03 2023 rev:23 rq:1102640 version:2.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/html2text/html2text.changes      2022-09-14 
13:44:30.529822759 +0200
+++ /work/SRC/openSUSE:Factory/.html2text.new.22712/html2text.changes   
2023-08-08 15:54:03.968667280 +0200
@@ -1,0 +2,17 @@
+Wed Aug  2 15:23:20 UTC 2023 - Manfred Schwarb <[email protected]>
+
+- remove obsolete and misleading custom man page, use packaged version instead
+- use release tarball for build, as the tag version has no autoconf files 
included
+- Update to release 2.2.3
+  * HTMLParser: de-code entities in HREF targets
+  * format: kill sprintf usage
+- Update to release 2.2.2
+  * build-sys: ensure we link against libiconv when necessary
+- Update to release 2.2.1
+  * build-sys: fix making a release
+- Update to release 2.2.0
+  * several bug fixes
+  * Add back support for "-utf8" flag for backwards compatibility
+  * convert to autotools
+
+-------------------------------------------------------------------

Old:
----
  html2text.1.gz
  v2.1.1.tar.gz

New:
----
  html2text-2.2.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ html2text.spec ++++++
--- /var/tmp/diff_new_pack.Yb9zf1/_old  2023-08-08 15:54:04.604671261 +0200
+++ /var/tmp/diff_new_pack.Yb9zf1/_new  2023-08-08 15:54:04.608671285 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package html2text
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,41 +17,37 @@
 
 
 Name:           html2text
-Version:        2.1.1
+Version:        2.2.3
 Release:        0
-Summary:        HTML to ASCII Converter
+Summary:        HTML to text converter
 License:        GPL-2.0-or-later
 Group:          Productivity/Publishing/HTML/Tools
 URL:            https://github.com/grobian/html2text
-Source0:        
https://github.com/grobian/html2text/archive/refs/tags/v%{version}.tar.gz
-Source1:        html2text.1.gz
+Source:         
https://github.com/grobian/html2text/releases/download/v%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  gcc-c++
 Requires(post): update-alternatives
 Requires(preun):update-alternatives
 
 %description
-A tool for converting from HTML to ASCII. It can reasonably handle
-tables.
+A tool for converting from HTML to text. It can reasonably handle tables.
 
 %prep
 %autosetup
 
 %build
 %configure
-%make_build EXPLICIT="%{optflags}"
+%make_build
 
 %install
+%make_build install DESTDIR=%{buildroot}
 # To avoid conflicts with the python3-html2text package
-install -Dpm 0755 html2text \
-  %{buildroot}%{_bindir}/html2text-cpp
-install -Dpm 0644 %{SOURCE1} \
-  %{buildroot}%{_mandir}/man1/html2text-cpp.1.gz
-gzip html2textrc.5
-install -Dpm 0644 html2textrc.5.gz \
-  %{buildroot}%{_mandir}/man5/html2textrc.5.gz
+mv %{buildroot}%{_bindir}/html2text               
%{buildroot}%{_bindir}/html2text-cpp
+ln -sf %{_sysconfdir}/alternatives/html2text      
%{buildroot}%{_bindir}/html2text
+mv %{buildroot}%{_mandir}/man1/html2text.1        
%{buildroot}%{_mandir}/man1/html2text-cpp.1
+ln -sf %{_sysconfdir}/alternatives/html2text.1.gz 
%{buildroot}%{_mandir}/man1/html2text.1.gz
 
-ln -s -f %{_sysconfdir}/alternatives/html2text %{buildroot}%{_bindir}/html2text
-ln -s -f %{_sysconfdir}/alternatives/html2text.1.gz 
%{buildroot}%{_mandir}/man1/html2text.1.gz
+%check
+%make_build check
 
 %post
 update-alternatives --install %{_bindir}/html2text html2text 
%{_bindir}/html2text-cpp 30 \
@@ -64,6 +60,7 @@
 
 %files
 %license COPYING
+##%%doc ChangeLog.md
 %{_bindir}/html2text
 %{_bindir}/html2text-cpp
 %ghost %{_sysconfdir}/alternatives/html2text

Reply via email to