Compare commits

...

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/jsoup-1.17.2.tar.gz
SOURCES/jsoup-1.13.1.tar.gz

@ -1 +1 @@
79e47e737b9086e01a3293a4279895e706baa31b SOURCES/jsoup-1.17.2.tar.gz
e6120c58f00239b85d67c779053b8a9b006cac68 SOURCES/jsoup-1.13.1.tar.gz

@ -1,45 +1,45 @@
%bcond_with bootstrap
Name: jsoup
Version: 1.17.2
Release: 3%{?dist}
Version: 1.13.1
Release: 11%{?dist}
Summary: Java library for working with real-world HTML
License: MIT
URL: https://jsoup.org/
URL: http://jsoup.org/
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
# ./generate-tarball.sh
Source0: %{name}-%{version}.tar.gz
# The sources contain non-free scraped web pages as test data
Source1: generate-tarball.sh
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
%endif
BuildRequires: jurand
%description
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.
* 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
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 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 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 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}
%{?javadoc_package}
%prep
@ -48,59 +48,38 @@ 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
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" \
"<_exportcontents>*.internal;x-internal:=true,*</_exportcontents>"
# Remove jspecify annotations which are used for static analysis only
%pom_remove_dep :jspecify
sed -i /org.jspecify/d src/main/java9/module-info.java
%java_remove_annotations src/main/java -s \
-p org[.]jspecify[.]annotations[.] \
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc README.md CHANGES.md
%files -n %{?module_prefix}%{name} -f .mfiles
%doc README.md CHANGES
%license LICENSE
%changelog
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.17.2-3
- Bump release for Aug 2024 java mass rebuild
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.17.2-2
- Bump release for June 2024 mass rebuild
* Thu Feb 01 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.17.2-1
- Update to upstream version 1.17.2
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Aug 15 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.16.1-2
- Build with default JDK 17
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1.13.1-11
- Rebuild with regenerated Requires on Java
* Mon Jul 24 2023 Marian Koncek <mkoncek@redhat.com> - 1.16.1-1
- Unretire with version 1.16.1
* Tue Jan 31 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-10
- Rebuild to regenerate auto-requires
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.13.1-9
- Rebuilt for java-17-openjdk as system jdk
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.13.1-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-8
- Rebuild to workaround DistroBaker issue
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-7
- Bootstrap Maven for CentOS Stream 9
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-6
- Bootstrap build

Loading…
Cancel
Save