diff --git a/jsoup.spec b/jsoup.spec index 335731c..9558c37 100644 --- a/jsoup.spec +++ b/jsoup.spec @@ -1,7 +1,7 @@ Name: jsoup Summary: Java library for working with real-world HTML Version: 1.13.1 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT URL: http://jsoup.org/ @@ -49,6 +49,11 @@ API documentation for %{name}. %pom_remove_plugin :maven-failsafe-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 @@ -63,6 +68,9 @@ API documentation for %{name}. %license LICENSE %changelog +* Fri Aug 28 2020 Mat Booth - 1.13.1-4 +- Expose internal packages in the OSGi metadata + * Tue Jul 28 2020 Fedora Release Engineering - 1.13.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild