diff --git a/apache-commons-lang3.changes b/apache-commons-lang3.changes index b1ba88a..da4dbc5 100644 --- a/apache-commons-lang3.changes +++ b/apache-commons-lang3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 25 17:41:59 UTC 2019 - Fridrich Strba + +- Remove pom parent, since we don't use it when not building with + maven + ------------------------------------------------------------------- Mon Feb 4 06:21:14 UTC 2019 - Fridrich Strba diff --git a/apache-commons-lang3.spec b/apache-commons-lang3.spec index 29cc943..96b1c00 100644 --- a/apache-commons-lang3.spec +++ b/apache-commons-lang3.spec @@ -30,12 +30,10 @@ Source1: build.xml Source2: default.properties BuildRequires: ant BuildRequires: ant-junit -BuildRequires: apache-commons-parent BuildRequires: fdupes BuildRequires: java-devel >= 1.7 BuildRequires: javapackages-local BuildRequires: junit -Requires: apache-commons-parent Provides: %{short_name} = %{version}-%{release} BuildArch: noarch @@ -65,6 +63,9 @@ cp %{SOURCE1} . cp %{SOURCE2} . sed -i 's/\r//' *.txt +%pom_remove_parent . +%pom_xpath_inject "pom:project" "org.apache.commons" . + %build export OPT_JAR_LIST=`cat %{_sysconfdir}/ant.d/junit` export CLASSPATH=