SHA256
1
0
forked from pool/jline
Fridrich Strba 2019-02-12 10:17:12 +00:00 committed by Git OBS Bridge
parent 9bb9cf703d
commit 2765538b36

View File

@ -51,7 +51,7 @@ This package contains the API documentation for %{name}.
%prep %prep
%setup -q -n jline2-jline-%{version} %setup -q -n jline2-jline-%{version}
ln -s %{SOURCE1} build.xml cp %{SOURCE1} build.xml
mkdir -p lib mkdir -p lib
# Remove maven-shade-plugin usage # Remove maven-shade-plugin usage
@ -76,13 +76,6 @@ mkdir -p lib
# See https://bugzilla.redhat.com/show_bug.cgi?id=1317551 # See https://bugzilla.redhat.com/show_bug.cgi?id=1317551
%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Export-Package" "jline.*;-noimport:=true" %pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Export-Package" "jline.*;-noimport:=true"
# For some reason these directories do not exist, failing compilation due to -Werror
mkdir -p target/generated-sources/annotations
mkdir -p target/generated-test-sources/test-annotations
# nondeterministic
find -name TerminalFactoryTest.java -delete
%build %build
build-jar-repository -s lib jansi jansi-native hawtjni/hawtjni-runtime build-jar-repository -s lib jansi jansi-native hawtjni/hawtjni-runtime
%ant package javadoc %ant package javadoc