Projects
home:pSomng:branches:openEuler:24.03
apache-commons-math
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:apache-commons-math.spec
Changed
@@ -7,8 +7,11 @@ URL: http://commons.apache.org/math/ Source0: http://archive.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz BuildArch: noarch -BuildRequires: java-devel >= 1:1.6.0 jpackage-utils maven-local +BuildRequires: jpackage-utils maven-local BuildRequires: mvn(org.apache.commons:commons-parent:pom:) mvn(junit:junit) +BuildRequires: java-11-openjdk-devel +Requires: java-11-openjdk +Requires: javapackages-tools Requires: jpackage-utils %description Commons Math is a library of lightweight, self-contained mathematics and @@ -31,7 +34,11 @@ %mvn_file :%{short_name} %{short_name} %{name} %build -%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 +export JAVA_HOME=%{_jvmdir}/java-11-openjdk +export PATH=$JAVA_HOME/bin:$PATH +export CFLAGS="${RPM_OPT_FLAGS}" +export CXXFLAGS="${RPM_OPT_FLAGS}" +%mvn_build -- -Dmaven.compiler.source=11 -Dmaven.compiler.target=11 %install %mvn_install
View file
_service
Changed
@@ -1,8 +1,8 @@ <services> <service name="tar_scm"> <param name="scm">git</param> - <param name="url">git@gitee.com:src-openeuler/apache-commons-math.git</param> - <param name="revision">openEuler-24.03-LTS</param> + <param name="url">git@gitee.com:cpntroller/apache-commons-math.git</param> + <param name="revision">dev</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2