42 lines
1.2 KiB
RPMSpec
42 lines
1.2 KiB
RPMSpec
Name: jboss-parent
|
|
Version: 39
|
|
Release: 1
|
|
Summary: JBoss Parent POM
|
|
License: CC0
|
|
URL: http://www.jboss.org/
|
|
BuildArch: noarch
|
|
Source0: https://github.com/jboss/jboss-parent-pom/archive/%{name}-%{version}.tar.gz
|
|
Source1: http://repository.jboss.org/licenses/cc0-1.0.txt
|
|
BuildRequires: maven-local mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
%description
|
|
The Project Object Model files for JBoss packages.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-pom-%{name}-%{version}
|
|
%pom_remove_plugin :cobertura-maven-plugin
|
|
%pom_remove_plugin :findbugs-maven-plugin
|
|
%pom_remove_plugin :javancss-maven-plugin
|
|
%pom_remove_plugin :license-maven-plugin
|
|
%pom_remove_plugin :sonar-maven-plugin
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
%pom_remove_plugin :buildnumber-maven-plugin
|
|
cp -p %SOURCE1 LICENSE
|
|
sed -i 's/\r//' LICENSE
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.adoc
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Fri Jun 24 2022 Ge Wang <wangge20@h-partners.com> - 39-1
|
|
- Upgrade to version 39
|
|
|
|
* Sat Jul 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 20-1
|
|
- Package init
|