File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -77,16 +77,23 @@ Requires: jpackage-utils
7777This package contains the API documentation for %{name }.
7878
7979%prep
80- %setup -q
80+ %autosetup
8181
8282%build
83- LC_ALL=C.UTF-8 %{ant } -v -Divy.mode=local build
83+ ANT_OPTS=-Djava.properties.date=$( date -u -d @${SOURCE_DATE_EPOCH:- $(date +%% s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
84+ LC_ALL=C.UTF-8 \
85+ %{ant } -v -Divy.mode=local build
8486
8587%check
86- LC_ALL=C.UTF-8 %{ant } -v -Divy.mode=local test
88+ ANT_OPTS=-Djava.properties.date=$( date -u -d @${SOURCE_DATE_EPOCH:- $(date +%% s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
89+ LC_ALL=C.UTF-8 \
90+ %{ant } -v -Divy.mode=local test
8791
8892%install
89- LC_ALL=C.UTF-8 %{ant } -v -Divy.mode=local -Ddestdir=%{buildroot } install
93+ ANT_OPTS=-Djava.properties.date=$( date -u -d @${SOURCE_DATE_EPOCH:- $(date +%% s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
94+ LC_ALL=C.UTF-8 \
95+ %{ant } -v -Divy.mode=local -Ddestdir=%{buildroot } install
96+
9097%fdupes %{buildroot }%{_javadocdir }/%{name }
9198
9299%add_maven_depmap %{name }/coneforest.%{name }.pom %{name }/coneforest.%{name }.jar
You can’t perform that action at this time.
0 commit comments