Disable the unpackBundle param of maven-bundle-plugin

This commit is contained in:
maminjie 2021-03-22 20:51:48 +08:00
parent 4a21ed3f37
commit e5dcae75d3

View File

@ -1,6 +1,6 @@
Name: felix-bundlerepository
Version: 2.0.10
Release: 5
Release: 6
Summary: Apache Felix OSGi Bundle Repository service
License: ASL 2.0 and MIT
URL: http://felix.apache.org/documentation/subprojects/apache-felix-osgi-bundle-repository.html
@ -38,6 +38,7 @@ This package contains the API help documentation for felix-bundlerepository.
%prep
%autosetup -n org.apache.felix.bundlerepository-%{version} -p1
sed -i 's/<unpackBundle>true<\/unpackBundle>/<unpackBundle>false<\/unpackBundle>/' pom.xml
%pom_remove_plugin :maven-source-plugin
%pom_add_dep "xpp3:xpp3:1.1.3.4.O" pom.xml "<optional>true</optional>"
%pom_xpath_remove "pom:dependency[pom:artifactId[text()='org.apache.felix.utils']]/pom:optional"
@ -60,5 +61,8 @@ This package contains the API help documentation for felix-bundlerepository.
%files help -f .mfiles-javadoc
%changelog
* Mon Mar 22 2021 maminjie <maminjie1@huawei.com> - 2.0.10-6
- Disable the unpackBundle param of maven-bundle-plugin
* Thu Dec 12 2019 lingsheng <lingsheng@huawei.com> - 2.0.10-5
- Package init