34 lines
1.0 KiB
RPMSpec
34 lines
1.0 KiB
RPMSpec
Name: datanucleus-maven-parent
|
|
Version: 3.3
|
|
Release: 1
|
|
Summary: DataNucleus Maven parent project
|
|
License: ASL 2.0
|
|
URL: https://github.com/datanucleus/datanucleus-maven-parent
|
|
Source: https://github.com/datanucleus/datanucleus-maven-parent/archive/datanucleus-maven-parent-3.3.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local maven-clean-plugin mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
%description
|
|
Datanucleus Maven parent pom used by other datanucleus packages.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
cp -p %{SOURCE1} LICENSE
|
|
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
|
|
%pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-ssh-external']]"
|
|
%pom_remove_parent
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Wed Aug 5 2020 chengzihan <chengzihan2@huawei.com> - 3.3-1
|
|
- Package init
|