Projects
Eulaceura:Factory
spock
_service:obs_scm:spock.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:spock.spec of Package spock
Name: spock Version: 0.7 Release: 0.18.groovy.2.0 Summary: The Enterpride-ready and speification framework License: ASL 2.0 URL: https://github.com/spockframework/spock Source0: https://github.com/spockframework/spock/archive/spock-%{version}-groovy-2.0.tar.gz #Build with gradle local mode,otherwise it can not find groovy when build.it will cause build to fail. Patch0001: 0001-Build-with-Gradle-local-mode.patch #The exception IOException is never thrown in body of corresponding try statement.it will cause build to fail. Patch0002: spock-0.7-core-port-to-groovy2.4.8.patch #SpecClassFileSelector is not abstract,it will cause build to fail. Patch0003: spock-modify-specclassfileselector-abstract.patch BuildRequires: gradle-local apache-parent ant antlr aopalliance apache-commons-cli BuildRequires: cglib google-guice groovy >= 2.0 hamcrest junit objenesis objectweb-asm Requires: java BuildArch: noarch Obsoletes: spock-javadoc < 0.7-0.5 Provides: spock-core = %{version}-%{release} Obsoletes: spock-core < %{version}-%{release} Provides: spock-guice = %{version}-%{release} Obsoletes: spock-guice < %{version}-%{release} %description Spock is a developer testing and specification framework for java and groovy applications. %prep %autosetup -n spock-spock-%{version}-groovy-2.0 -p1 rm -f gradle/wrapper/gradle-wrapper.jar sed -i "s|sourceCompatibility = 1.5|sourceCompatibility = 1.6|" build.gradle for i in maven specs spring tapestry unitils do rm -rf spock-$i done #rm -rf spock-maven spock-specs spock-spring spock-tapestry spock-unitils %mvn_package ":spock-{maven,specs,spring,tapestry,unitils}" __noinstall %build %gradle_build -s -- -x javadoc %install %mvn_install %files -f .mfiles-spock-core -f .mfiles-spock-guice %license LICENSE NOTICE %changelog * Fri Apr 3 2020 zhujunhao <zhujunhao5@huawei.com> - 0.7-0.18.groovy.2.0 - 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