Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

4 changed files with 16 additions and 12 deletions

2
.gitignore vendored
View file

@ -19,5 +19,3 @@
/jsoup-1.16.1.tar.gz
/jsoup-1.17.2.tar.gz
/jsoup-1.18.1.tar.gz
/jsoup-1.19.1.tar.gz
/jsoup-1.21.1.tar.gz

View file

@ -1,7 +1,7 @@
%bcond_with bootstrap
Name: jsoup
Version: 1.21.1
Version: 1.18.1
Release: %autorelease
Summary: Java library for working with real-world HTML
License: MIT
@ -18,12 +18,10 @@ BuildRequires: jurand
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local-openjdk25
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
%endif
# TODO Remove in Fedora 46
Obsoletes: %{name}-javadoc < 1.18.1-11
%description
jsoup is a Java library for working with real-world HTML. It provides a very
@ -42,6 +40,12 @@ 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.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
API documentation for %{name}.
%prep
%autosetup -p1 -C
@ -57,12 +61,12 @@ tree.
# Remove jspecify annotations which are used for static analysis only
%pom_remove_dep :jspecify
sed -i /org.jspecify/d src/main/java*/module-info.java
%java_remove_annotations src/main/java src/main/java11 -s \
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 -j -f
%mvn_build -f
%install
%mvn_install
@ -71,5 +75,7 @@ sed -i /org.jspecify/d src/main/java*/module-info.java
%doc README.md CHANGES.md
%license LICENSE
%files javadoc -f .mfiles-javadoc
%changelog
%autochangelog

View file

@ -1,7 +1,7 @@
summary: Run javapackages-specific tests
discover:
how: fmf
url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git
ref: f43
url: https://src.fedoraproject.org/tests/javapackages
ref: f42
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (jsoup-1.21.1.tar.gz) = 64c713ef487f3283199769655ded7501b80b583e09d7aee93d80912320c79ee2c5224fc4ae23e96f13949a224849d65f9171b3f7932b44dd8a8bc536b4967d22
SHA512 (jsoup-1.18.1.tar.gz) = 290483fe015870e8163f11a7e49ab9e5e411a3654d46e04e10f08589efb432890fa61e2f434907f053bed9debefec6b0f843370ac270007201eb434153024f46