Update to upstream 1.16.1

License fields is already in SPDX format
This commit is contained in:
Marian Koncek 2023-07-25 10:11:19 +02:00
parent 857cade814
commit 68f38607f1
3 changed files with 23 additions and 19 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/jsoup-1.11.3.tar.gz /jsoup-1.11.3.tar.gz
/jsoup-1.12.1.tar.gz /jsoup-1.12.1.tar.gz
/jsoup-1.13.1.tar.gz /jsoup-1.13.1.tar.gz
/jsoup-1.16.1.tar.gz

View File

@ -1,12 +1,13 @@
%bcond_with bootstrap %bcond_with bootstrap
Name: jsoup Name: jsoup
Version: 1.13.1 Version: 1.16.1
Release: 9%{?dist} Release: 1%{?dist}
Summary: Java library for working with real-world HTML Summary: Java library for working with real-world HTML
License: MIT License: MIT
URL: http://jsoup.org/ URL: https://jsoup.org/
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
# ./generate-tarball.sh # ./generate-tarball.sh
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
@ -21,23 +22,21 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%endif %endif
%description %description
jsoup is a Java library for working with real-world HTML. jsoup is a Java library for working with real-world HTML. It provides a very
It provides a very convenient API for extracting and manipulating data, convenient API for fetching URLs and extracting and manipulating data, using the
using the best of DOM, CSS, and jquery-like methods. best of HTML5 DOM methods and CSS selectors.
jsoup implements the WHATWG HTML5 specification, jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM
and parses HTML to the same DOM as modern browsers do. as modern browsers do.
* scrape and parse HTML from a URL, file, or string
* find and extract data, using DOM traversal or CSS selectors
* manipulate the HTML elements, attributes, and text
* clean user-submitted content against a safelist, to prevent XSS attacks
* output tidy HTML
- scrape and parse HTML from a URL, file, or string jsoup is designed to deal with all varieties of HTML found in the wild; from
- find and extract data, using DOM traversal or CSS selectors pristine and validating, to invalid tag-soup; jsoup will create a sensible parse
- manipulate the HTML elements, attributes, and text tree.
- clean user-submitted content against a safe white-list,
to prevent XSS attacks
- output tidy HTML
jsoup is designed to deal with all varieties of HTML found in the wild;
from pristine and validating, to invalid tag-soup;
jsoup will create a sensible parse tree.
%{?module_package} %{?module_package}
%{?javadoc_package} %{?javadoc_package}
@ -48,6 +47,7 @@ jsoup will create a sensible parse tree.
%pom_remove_plugin :animal-sniffer-maven-plugin %pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :maven-failsafe-plugin %pom_remove_plugin :maven-failsafe-plugin
%pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin com.github.siom79.japicmp:japicmp-maven-plugin
# Expose internal packages in the OSGi metadata, clearly marking them as such # Expose internal packages in the OSGi metadata, clearly marking them as such
# using the x-internal attribute # using the x-internal attribute
@ -65,6 +65,9 @@ jsoup will create a sensible parse tree.
%license LICENSE %license LICENSE
%changelog %changelog
* Mon Jul 24 2023 Marian Koncek <mkoncek@redhat.com> - 1.16.1-1
- Unretire with version 1.16.1
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.13.1-9 * Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.13.1-9
- Rebuilt for java-17-openjdk as system jdk - Rebuilt for java-17-openjdk as system jdk

View File

@ -1 +1 @@
SHA512 (jsoup-1.13.1.tar.gz) = b00bf53e2692e01a32870579d259b0bc7c78a7d13e44975f6692b9f92852224a0f5d3631b59eeaf41e00c2ccdc097983ba836eca62b998cb332b91fa9c713dd6 SHA512 (jsoup-1.16.1.tar.gz) = e42dd69686e24a50cfb06c6607ab401545a176d4927454a29c73a441a118b9dd83a34dfd29e12c15f3f54249e818ff525fd00d60255c4dc7ad03c187c27d9a07