diff --git a/jsoup.spec b/jsoup.spec index f4cabce..81d72ac 100644 --- a/jsoup.spec +++ b/jsoup.spec @@ -1,7 +1,7 @@ Name: jsoup Summary: Java library for working with real-world HTML Version: 1.12.1 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT URL: http://jsoup.org/ @@ -48,6 +48,11 @@ API documentation for %{name}. %pom_remove_plugin :animal-sniffer-maven-plugin %pom_remove_plugin :maven-javadoc-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,*" + %build %mvn_build -f @@ -62,6 +67,9 @@ API documentation for %{name}. %license LICENSE %changelog +* Fri Aug 28 2020 Mat Booth - 1.12.1-3 +- Expose internal packages in the OSGi metadata + * Wed Jan 29 2020 Fedora Release Engineering - 1.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild