felix-parent/felix-parent.spec
2022-11-16 10:21:13 +08:00

45 lines
1.3 KiB
RPMSpec

Name: felix-parent
Version: 4
Release: 8
Summary: Implement OSGI-related technologies
License: ASL 2.0
URL: http://felix.apache.org/
Source0: https://repo1.maven.org/maven2/org/apache/felix/felix-parent/4/felix-parent-4-source-release.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache:apache:pom:) mvn(org.easymock:easymock)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) mvn(org.mockito:mockito-all)
Requires: mvn(org.easymock:easymock) mvn(org.mockito:mockito-all)
%description
Implement OSGI-related technologies
%prep
%autosetup -n felix-parent-%{version} -p1
%mvn_alias : :felix
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-site-plugin
%pom_remove_plugin :maven-release-plugin
%pom_remove_plugin org.codehaus.mojo:ianal-maven-plugin
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_xpath_remove pom:extensions
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-antrun-plugin']/pom:dependencies"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE
%changelog
* Mon Nov 14 2022 wulei <wulei80@h-partners.com> - 4-8
- Modifying the Source Code Package Address
* Sun Mar 15 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4-7
- Init package