forked from pool/jsonp
This commit is contained in:
parent
c7a2b83bf7
commit
0a31e50b66
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define __requires_exclude java-headless
|
||||||
Name: jsonp
|
Name: jsonp
|
||||||
Version: 1.1.4
|
Version: 1.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,6 +25,7 @@ License: CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|||||||
URL: https://github.com/javaee/%{name}
|
URL: https://github.com/javaee/%{name}
|
||||||
Source0: https://github.com/javaee/%{name}/archive/refs/tags/%{version}-RELEASE.tar.gz
|
Source0: https://github.com/javaee/%{name}/archive/refs/tags/%{version}-RELEASE.tar.gz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 9
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
||||||
BuildRequires: mvn(javax.ws.rs:javax.ws.rs-api)
|
BuildRequires: mvn(javax.ws.rs:javax.ws.rs-api)
|
||||||
@ -32,6 +34,7 @@ BuildRequires: mvn(net.java:jvnet-parent:pom:)
|
|||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||||
BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin)
|
BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin)
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -88,9 +91,6 @@ sed -i '/check-module/d' api/pom.xml impl/pom.xml
|
|||||||
|
|
||||||
%{mvn_build} -f -- \
|
%{mvn_build} -f -- \
|
||||||
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
|
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
|
||||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
|
||||||
-Dmaven.compiler.release=8 \
|
|
||||||
%endif
|
|
||||||
-Dsource=8
|
-Dsource=8
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user