This commit is contained in:
parent
230c82a2e3
commit
62803390a1
BIN
jaf-2.1.0.tar.gz
(Stored with Git LFS)
BIN
jaf-2.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -17,6 +17,9 @@
|
||||
|
||||
|
||||
%global artifact_name jakarta.activation-api
|
||||
# The automatic requires would be java-headless >= 9, but the
|
||||
# binaries are java 8 compatible
|
||||
%define __requires_exclude java-headless
|
||||
Name: jakarta-activation
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
@ -29,9 +32,6 @@ BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 9
|
||||
BuildRequires: javapackages-local >= 6
|
||||
# The automatic requires would be java-headless >= 9, but the
|
||||
# binaries are java 8 compatible
|
||||
%define __requires_exclude java-headless
|
||||
Requires: java-headless >= 1.8
|
||||
BuildArch: noarch
|
||||
|
||||
@ -63,7 +63,7 @@ install -pm 0644 api/target/%{artifact_name}-%{version}.jar %{buildroot}%{_javad
|
||||
|
||||
#pom
|
||||
install -d -m 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||
%mvn_install_pom api/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifact_name}.pom
|
||||
%{mvn_install_pom} api/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifact_name}.pom
|
||||
%add_maven_depmap %{name}/%{artifact_name}.pom %{name}/%{artifact_name}.jar
|
||||
|
||||
# javadoc
|
||||
|
Loading…
Reference in New Issue
Block a user