Projects
Eulaceura:Factory
jtreg
_service:obs_scm:jtreg.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:jtreg.spec of Package jtreg
%global jtregver 5.1 %global buildver b01 %global priority 18000 # %global debug_package %{nil} %global top_level_dir_name %{name} %global jtregdir %{_prefix}/lib/jtreg %global buildoutputdir %{name}/build %define files_jtreg() %{expand: %license %{jtregdir}/legal %license %{jtregdir}/LICENSE %license %{jtregdir}/COPYRIGHT %doc %{jtregdir}/doc %doc %{jtregdir}/README %doc %{jtregdir}/release %dir %{jtregdir}/bin %{jtregdir}/bin/jtreg %{jtregdir}/bin/jtdiff %dir %{jtregdir}/lib %{jtregdir}/lib/asmtools.jar %{jtregdir}/lib/javatest.jar %{jtregdir}/lib/jcommander.jar %{jtregdir}/lib/jcov.jar %{jtregdir}/lib/jcov_network_saver.jar %{jtregdir}/lib/jtreg.jar %{jtregdir}/lib/junit.jar %{jtregdir}/lib/testng.jar } Name: jtreg Version: %{jtregver} Release: 1 Summary: The Regression Test Harness for the OpenJDK platform: jtreg Group: Development/Tools License: GPLv2 URL: http://hg.openjdk.java.net/code-tools/jtreg Source0: jtreg%{version}-%{buildver}.tar.xz Patch1: get-the-build-version-number-through-script-parameters.patch Patch2: set-the-correct-JTREG_HOME.patch BuildArch: noarch BuildRequires: java-1.8.0-openjdk-devel BuildRequires: wget %description jtreg is designed to run test programs written according to the JDK Test Framework: Tag Language Specification, on a wide-variety of Java™ platforms, and specifically those platforms supported by JDK. %prep %setup -q -c -n %{name}%{version} -T -a 0 pushd %{top_level_dir_name} %patch1 -p1 %patch2 -p1 %build export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk pushd %{top_level_dir_name} sh -x make/build-all.sh $JAVA_HOME %install install -d -m 755 %{buildroot}%{_usr}/lib cp -a %{buildoutputdir}/images/jtreg %{buildroot}%{jtregdir} %files %{files_jtreg %{nil}} %post alternatives --install %{_bindir}/jtreg jtreg %{jtregdir}/bin/jtreg %{priority} alternatives --install %{_bindir}/jtdiff jtdiff %{jtregdir}/bin/jtdiff %{priority} %postun alternatives --remove jtreg %{jtregdir}/bin/jtreg alternatives --remove jtdiff %{jtregdir}/bin/jtdiff #z rmdir %{jtregdir} %changelog * Sat Sep 5 2020 noah <hedongbo@huawei.com> - 5.1-1 - Package init
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