Update to upstream version 1.17.2

This commit is contained in:
Mikolaj Izdebski 2024-02-01 10:32:31 +01:00
parent a9296d1367
commit 20c75ef161
3 changed files with 16 additions and 4 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
/jsoup-1.12.1.tar.gz
/jsoup-1.13.1.tar.gz
/jsoup-1.16.1.tar.gz
/jsoup-1.17.2.tar.gz

View File

@ -1,8 +1,8 @@
%bcond_with bootstrap
Name: jsoup
Version: 1.16.1
Release: 4%{?dist}
Version: 1.17.2
Release: 1%{?dist}
Summary: Java library for working with real-world HTML
License: MIT
URL: https://jsoup.org/
@ -19,7 +19,9 @@ 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
@ -53,6 +55,12 @@ tree.
%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
@ -60,10 +68,13 @@ tree.
%mvn_install
%files -f .mfiles
%doc README.md CHANGES
%doc README.md CHANGES.md
%license LICENSE
%changelog
* 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

View File

@ -1 +1 @@
SHA512 (jsoup-1.16.1.tar.gz) = e42dd69686e24a50cfb06c6607ab401545a176d4927454a29c73a441a118b9dd83a34dfd29e12c15f3f54249e818ff525fd00d60255c4dc7ad03c187c27d9a07
SHA512 (jsoup-1.17.2.tar.gz) = 0d76e0478f7972e6789ac60d5bdedc114bacd233a073adc1527cb5e42b660fdac4f96b7e1f54e787fbe36d54ac09e73b3ac53ccccc3f242bb150da0164402ed6