diff --git a/.gitignore b/.gitignore index c91c79e..c613a96 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/jsoup.spec b/jsoup.spec index 0038cf9..f786bfd 100644 --- a/jsoup.spec +++ b/jsoup.spec @@ -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,*" +# 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 - 1.17.2-1 +- Update to upstream version 1.17.2 + * Wed Jan 24 2024 Fedora Release Engineering - 1.16.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index cd763de..acc7725 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jsoup-1.16.1.tar.gz) = e42dd69686e24a50cfb06c6607ab401545a176d4927454a29c73a441a118b9dd83a34dfd29e12c15f3f54249e818ff525fd00d60255c4dc7ad03c187c27d9a07 +SHA512 (jsoup-1.17.2.tar.gz) = 0d76e0478f7972e6789ac60d5bdedc114bacd233a073adc1527cb5e42b660fdac4f96b7e1f54e787fbe36d54ac09e73b3ac53ccccc3f242bb150da0164402ed6