Change buildrequire and require to java-1.8.0-devel

This commit is contained in:
lingsheng 2020-10-15 18:46:15 +08:00
parent d9f687fb3c
commit 2285bc3608

View File

@ -4,14 +4,14 @@
Name: ant Name: ant
Summary: A Java-based build tool Summary: A Java-based build tool
Version: 1.10.8 Version: 1.10.8
Release: 1 Release: 2
Epoch: 0 Epoch: 0
License: ASL 2.0 License: ASL 2.0
URL: https://ant.apache.org/ URL: https://ant.apache.org/
Source0: https://archive.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2 Source0: https://archive.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
Source2: apache-ant-1.8.ant.conf Source2: apache-ant-1.8.ant.conf
BuildRequires: javapackages-local java-devel >= 1:1.8.0 ant >= 1.10.2 BuildRequires: javapackages-local java-1.8.0-devel ant >= 1.10.2
BuildRequires: ant-junit xmlto mvn(antlr:antlr) mvn(bcel:bcel) BuildRequires: ant-junit xmlto mvn(antlr:antlr) mvn(bcel:bcel)
BuildRequires: mvn(bsf:bsf) mvn(com.jcraft:jsch) mvn(commons-logging:commons-logging-api) BuildRequires: mvn(bsf:bsf) mvn(com.jcraft:jsch) mvn(commons-logging:commons-logging-api)
BuildRequires: mvn(commons-net:commons-net) mvn(javax.mail:mail) mvn(jdepend:jdepend) BuildRequires: mvn(commons-net:commons-net) mvn(javax.mail:mail) mvn(jdepend:jdepend)
@ -20,7 +20,7 @@ BuildRequires: mvn(oro:oro) mvn(regexp:regexp) mvn(xalan:xalan)
BuildRequires: mvn(xml-resolver:xml-resolver) mvn(org.hamcrest:hamcrest-core) BuildRequires: mvn(xml-resolver:xml-resolver) mvn(org.hamcrest:hamcrest-core)
BuildRequires: mvn(org.hamcrest:hamcrest-library) junit5 BuildRequires: mvn(org.hamcrest:hamcrest-library) junit5
Recommends: java-devel >= 1:1.8.0 Recommends: java-1.8.0-devel
Requires: %{name}-lib = %{epoch}:%{version}-%{release} javapackages-tools Requires: %{name}-lib = %{epoch}:%{version}-%{release} javapackages-tools
BuildArch: noarch BuildArch: noarch
@ -422,6 +422,9 @@ LC_ALL=en_US.utf8 %{ant} test
%{_javadocdir}/%{name} %{_javadocdir}/%{name}
%changelog %changelog
* Thu Oct 15 2020 lingsheng<lingsheng@huawei.com> - 0:1.10.8-2
- Change buildrequire and require to java-1.8.0-devel
* Wed Sep 9 2020 zhanghua<zhanghua40@huawei.com> - 0:1.10.8-1 * Wed Sep 9 2020 zhanghua<zhanghua40@huawei.com> - 0:1.10.8-1
- update to 1.10.8 - update to 1.10.8