forked from pool/plexus-classworlds
Accepting request 1114373 from Java:packages:test
javapackages >= 6 OBS-URL: https://build.opensuse.org/request/show/1114373 OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-classworlds?expand=0&rev=9
This commit is contained in:
parent
d9c63d012d
commit
9471754e08
@ -29,7 +29,7 @@ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{ver
|
||||
Source1: %{name}-build.xml
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-local >= 6
|
||||
Obsoletes: %{short_name} < %{version}-%{release}
|
||||
Provides: %{short_name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
@ -67,12 +67,6 @@ ln -s $(build-classpath commons-logging) target/test-lib/commons-logging-1.0.3.j
|
||||
ln -s $(build-classpath xml-apis) target/test-lib/xml-apis-1.3.02.jar
|
||||
%endif
|
||||
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
%pom_remove_plugin :maven-dependency-plugin
|
||||
|
||||
%pom_remove_parent .
|
||||
%pom_xpath_inject "pom:project" "<groupId>org.codehaus.plexus</groupId>" .
|
||||
|
||||
%build
|
||||
%{ant} \
|
||||
%if %{without tests}
|
||||
@ -88,7 +82,7 @@ ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
|
||||
ln -sf ../%{name}.jar %{buildroot}%{_javadir}/plexus/%{short_name}.jar
|
||||
# pom
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar -a %{short_name}:%{short_name}
|
||||
# javadoc
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||
|
Loading…
x
Reference in New Issue
Block a user