diff --git a/.gitignore b/.gitignore index aaf5ddc..c91c79e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /jsoup-1.11.3.tar.gz /jsoup-1.12.1.tar.gz /jsoup-1.13.1.tar.gz +/jsoup-1.16.1.tar.gz diff --git a/jsoup.spec b/jsoup.spec index 9853cb3..c21c203 100644 --- a/jsoup.spec +++ b/jsoup.spec @@ -1,12 +1,13 @@ %bcond_with bootstrap Name: jsoup -Version: 1.13.1 -Release: 9%{?dist} +Version: 1.16.1 +Release: 1%{?dist} Summary: Java library for working with real-world HTML License: MIT -URL: http://jsoup.org/ +URL: https://jsoup.org/ BuildArch: noarch +ExclusiveArch: %{java_arches} noarch # ./generate-tarball.sh Source0: %{name}-%{version}.tar.gz @@ -21,23 +22,21 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) %endif %description -jsoup is a Java library for working with real-world HTML. -It provides a very convenient API for extracting and manipulating data, -using the best of DOM, CSS, and jquery-like methods. +jsoup is a Java library for working with real-world HTML. It provides a very +convenient API for fetching URLs and extracting and manipulating data, using the +best of HTML5 DOM methods and CSS selectors. -jsoup implements the WHATWG HTML5 specification, -and parses HTML to the same DOM as modern browsers do. +jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM +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 - - find and extract data, using DOM traversal or CSS selectors - - manipulate the HTML elements, attributes, and text - - 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. +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} %{?javadoc_package} @@ -48,6 +47,7 @@ jsoup will create a sensible parse tree. %pom_remove_plugin :animal-sniffer-maven-plugin %pom_remove_plugin :maven-failsafe-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 # using the x-internal attribute @@ -65,6 +65,9 @@ jsoup will create a sensible parse tree. %license LICENSE %changelog +* Mon Jul 24 2023 Marian Koncek - 1.16.1-1 +- Unretire with version 1.16.1 + * Sat Feb 05 2022 Jiri Vanek - 1.13.1-9 - Rebuilt for java-17-openjdk as system jdk diff --git a/sources b/sources index df80e4e..cd763de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jsoup-1.13.1.tar.gz) = b00bf53e2692e01a32870579d259b0bc7c78a7d13e44975f6692b9f92852224a0f5d3631b59eeaf41e00c2ccdc097983ba836eca62b998cb332b91fa9c713dd6 +SHA512 (jsoup-1.16.1.tar.gz) = e42dd69686e24a50cfb06c6607ab401545a176d4927454a29c73a441a118b9dd83a34dfd29e12c15f3f54249e818ff525fd00d60255c4dc7ad03c187c27d9a07