From c119c56996aaadf0ef972ae65d991f93a87b91f422b307d811f6bc7f24a78ed8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 25 Mar 2019 17:46:06 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-logging?expand=0&rev=42 --- apache-commons-logging.changes | 6 ++++++ apache-commons-logging.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apache-commons-logging.changes b/apache-commons-logging.changes index e6a06ff..9f6b838 100644 --- a/apache-commons-logging.changes +++ b/apache-commons-logging.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 25 17:45:27 UTC 2019 - Fridrich Strba + +- Remove pom parent, since we don't use it when not building with + maven + ------------------------------------------------------------------- Wed Feb 6 06:47:05 UTC 2019 - Fridrich Strba diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index 08b4582..7ee3374 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -36,14 +36,12 @@ Patch1: commons-logging-1.2-sourcetarget.patch Patch2: commons-logging-manifests.patch BuildRequires: ant BuildRequires: ant-junit -BuildRequires: apache-commons-parent BuildRequires: glassfish-servlet-api BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: junit BuildRequires: log4j-mini >= 1.2 Requires: java >= 1.8 -Requires: mvn(org.apache.commons:commons-parent:pom:) Provides: jakarta-%{short_name} = %{version}-%{release} Obsoletes: jakarta-%{short_name} < %{version} Provides: %{short_name} = %{version}-%{release} @@ -72,6 +70,8 @@ sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt #FIXME rm ./src/test/java/org/apache/commons/logging/servlet/BasicServletTestCase.java +%pom_remove_parent . + %build export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository mkdir -p $MAVEN_REPO_LOCAL