init
This commit is contained in:
parent
8716c98587
commit
f3c1cb8f10
47
geronimo-validation.spec
Normal file
47
geronimo-validation.spec
Normal file
@ -0,0 +1,47 @@
|
||||
%global spec_name_ver geronimo-validation_1.0_spec-%{version}
|
||||
%global pom_prefix pom:project/pom
|
||||
|
||||
Name: geronimo-validation
|
||||
Version: 1.1
|
||||
Release: 20
|
||||
Summary: Geronimo implementation of JSR 303
|
||||
License: ASL 2.0
|
||||
URL: http://geronimo.apache.org/
|
||||
Source0: %{spec_name_ver}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local geronimo-parent-poms geronimo-osgi-support
|
||||
|
||||
%description
|
||||
This is the Geronimo implementation of JSR-303, the Bean
|
||||
Validation API specification.
|
||||
|
||||
%package_help
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{spec_name_ver}
|
||||
%pom_xpath_set "%{pom_prefix}:parent/pom:groupId" org.apache.geronimo.specs
|
||||
%pom_xpath_set "%{pom_prefix}:parent/pom:artifactId" specs
|
||||
%pom_xpath_set "%{pom_prefix}:parent/pom:version" 1.4
|
||||
%pom_xpath_inject "%{pom_prefix}:parent" "<relativePath>../pom.xml</relativePath>"
|
||||
%pom_xpath_set "%{pom_prefix}:packaging" jar
|
||||
|
||||
%mvn_file : %{name}
|
||||
|
||||
%build
|
||||
|
||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Tue Dec 10 2019 mengxian <mengxian@huawei.com> - 1.1-20
|
||||
- Package init
|
||||
|
||||
|
||||
BIN
geronimo-validation_1.0_spec-1.1.tar.xz
Normal file
BIN
geronimo-validation_1.0_spec-1.1.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user