1
0

Accepting request 1114352 from Java:packages:test

javapackages >= 6

OBS-URL: https://build.opensuse.org/request/show/1114352
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-chain?expand=0&rev=9
This commit is contained in:
Fridrich Strba 2023-09-29 13:12:38 +00:00 committed by Git OBS Bridge
parent 08d2989565
commit 8e4b80a4d3

View File

@ -42,11 +42,8 @@ BuildRequires: commons-digester >= 1.8
BuildRequires: commons-logging
BuildRequires: fdupes
BuildRequires: glassfish-servlet-api
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildRequires: portlet-1.0-api
Requires: mvn(commons-beanutils:commons-beanutils)
Requires: mvn(commons-digester:commons-digester) >= 1.8
Requires: mvn(commons-logging:commons-logging)
BuildArch: noarch
%if %{with tests}
BuildRequires: ant-junit
@ -102,8 +99,6 @@ rm -rf src/java/org/apache/commons/chain/web/faces
%pom_xpath_set "pom:dependency[pom:groupId = 'javax.servlet' ]/pom:artifactId" javax.servlet-api
%pom_xpath_set "pom:dependency[pom:groupId = 'javax.servlet' ]/pom:version" 3.1.0
%pom_remove_parent
%build
export CLASSPATH=$(build-classpath \
commons-logging \
@ -127,7 +122,7 @@ install -pm 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name
ln -s %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
# pom
install -d -m 0755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar -a org.apache.commons:%{short_name}
# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}