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 %bcond_with bootstrap
Name: jsoup Name: jsoup
Version: 1.17.2 Version: 1.13.1
Release: 3%{?dist} Release: 11%{?dist}
Summary: Java library for working with real-world HTML Summary: Java library for working with real-world HTML
License: MIT License: MIT
URL: https://jsoup.org/ URL: http://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
# The sources contain non-free scraped web pages as test data # The sources contain non-free scraped web pages as test data
Source1: generate-tarball.sh Source1: generate-tarball.sh
BuildRequires: maven-local-openjdk8
%if %{with bootstrap} %if %{with bootstrap}
BuildRequires: javapackages-bootstrap BuildRequires: javapackages-bootstrap
%else %else
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
%endif %endif
BuildRequires: jurand
%description %description
jsoup is a Java library for working with real-world HTML. It provides a very jsoup is a Java library for working with real-world HTML.
convenient API for fetching URLs and extracting and manipulating data, using the It provides a very convenient API for extracting and manipulating data,
best of HTML5 DOM methods and CSS selectors. 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 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 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} %{?javadoc_package}
%prep %prep
@ -48,59 +48,38 @@ 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
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" \ %pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" \
"<_exportcontents>*.internal;x-internal:=true,*</_exportcontents>" "<_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 %build
%mvn_build -f %mvn_build -f
%install %install
%mvn_install %mvn_install
%files -f .mfiles %files -n %{?module_prefix}%{name} -f .mfiles
%doc README.md CHANGES.md %doc README.md CHANGES
%license LICENSE %license LICENSE
%changelog %changelog
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.17.2-3 * Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1.13.1-11
- Bump release for Aug 2024 java mass rebuild - Rebuild with regenerated Requires on Java
* 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
* Mon Jul 24 2023 Marian Koncek <mkoncek@redhat.com> - 1.16.1-1 * Tue Jan 31 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-10
- Unretire with version 1.16.1 - Rebuild to regenerate auto-requires
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.13.1-9 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.13.1-9
- Rebuilt for java-17-openjdk as system jdk - 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 * Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuild to workaround DistroBaker issue
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-7 * Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Bootstrap Maven for CentOS Stream 9
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-6 * Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-6
- Bootstrap build - Bootstrap build

Loading…
Cancel
Save