Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Mat Booth
c00a3c45ce Expose internal packages in the OSGi metadata 2020-08-28 13:57:51 +01:00

View file

@ -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,*</_exportcontents>"
%build
%mvn_build -f
@ -62,6 +67,9 @@ API documentation for %{name}.
%license LICENSE
%changelog
* Fri Aug 28 2020 Mat Booth <mat.booth@redhat.com> - 1.12.1-3
- Expose internal packages in the OSGi metadata
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild