Expose internal packages in the OSGi metadata
This commit is contained in:
parent
bebcde2eb0
commit
fe1e210229
10
jsoup.spec
10
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,*</_exportcontents>"
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
|
||||
@ -63,6 +68,9 @@ API documentation for %{name}.
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Aug 28 2020 Mat Booth <mat.booth@redhat.com> - 1.13.1-4
|
||||
- Expose internal packages in the OSGi metadata
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user