forked from pool/apache-commons-compress
Accepting request 689042 from Java:packages
Disregard the pom parent OBS-URL: https://build.opensuse.org/request/show/689042 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-compress?expand=0&rev=2
This commit is contained in:
commit
934cbaffbf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 17:32:03 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Remove pom parent, since we don't use it when not building with
|
||||
maven
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 27 16:48:58 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package apache-commons-compress
|
||||
# spec file for package apache
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -31,12 +31,10 @@ Patch0: 0001-Remove-Brotli-compressor.patch
|
||||
Patch1: 0002-Remove-ZSTD-compressor.patch
|
||||
Patch2: fix_java_8_compatibility.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: apache-commons-parent
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.7
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: xz-java
|
||||
Requires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
Requires: mvn(org.tukaani:xz)
|
||||
Provides: %{short_name} = %{version}-%{release}
|
||||
Obsoletes: %{short_name} < %{version}-%{release}
|
||||
@ -87,6 +85,9 @@ rm src/test/java/org/apache/commons/compress/OsgiITest.java
|
||||
|
||||
%pom_xpath_remove "pom:profiles/pom:profile[pom:id[text()='java9+']]"
|
||||
|
||||
%pom_remove_parent .
|
||||
%pom_xpath_inject "pom:project" "<groupId>org.apache.commons</groupId>" .
|
||||
|
||||
%build
|
||||
mkdir -p lib
|
||||
build-jar-repository -s lib xz-java
|
||||
|
Loading…
Reference in New Issue
Block a user