Accepting request 1114356 from Java:packages:test
javapackages >= 6 OBS-URL: https://build.opensuse.org/request/show/1114356 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-io?expand=0&rev=40
This commit is contained in:
parent
dbd0d317b7
commit
c3c981b091
@ -31,7 +31,7 @@ Source2: %{name}-build.xml
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-local >= 6
|
||||
Provides: %{short_name} = %{version}-%{release}
|
||||
Provides: jakarta-%{short_name} = %{version}-%{release}
|
||||
Obsoletes: jakarta-%{short_name} < %{version}-%{release}
|
||||
@ -53,9 +53,7 @@ This package provides %{summary}.
|
||||
%setup -q -n %{short_name}-%{version}-src
|
||||
cp %{SOURCE2} build.xml
|
||||
|
||||
%pom_remove_parent
|
||||
%pom_remove_dep :junit-bom
|
||||
%pom_change_dep -r -f ::::: :::::
|
||||
|
||||
%build
|
||||
%{ant} \
|
||||
@ -70,7 +68,7 @@ install -p -m 0644 target/%{short_name}-%{version}.jar \
|
||||
ln -sf %{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
# pom
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{short_name}.pom
|
||||
%mvn_install_pom pom.xml %{buildroot}%{_mavenpomdir}/%{short_name}.pom
|
||||
%add_maven_depmap %{short_name}.pom %{short_name}.jar -a "org.apache.commons:commons-io"
|
||||
# javadoc
|
||||
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
|
Loading…
x
Reference in New Issue
Block a user