From dbb4bb5ddd764d5920f646b411d08c2dc46c03f6 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mon, 6 Feb 2017 16:37:04 +0100 Subject: [PATCH] Remove build dep on h2 --- apache-commons-csv.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apache-commons-csv.spec b/apache-commons-csv.spec index 47372a2..b484cc8 100644 --- a/apache-commons-csv.spec +++ b/apache-commons-csv.spec @@ -1,6 +1,6 @@ Name: apache-commons-csv Version: 1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities to assist with handling of CSV files License: ASL 2.0 URL: https://commons.apache.org/proper/commons-csv/ @@ -9,7 +9,6 @@ BuildArch: noarch Source0: http://www.apache.org/dist/commons/csv/source/commons-csv-%{version}-src.tar.gz BuildRequires: maven-local -BuildRequires: mvn(com.h2database:h2) BuildRequires: mvn(commons-io:commons-io) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-lang3) @@ -36,6 +35,10 @@ find -name profile.jacoco -delete %pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :maven-checkstyle-plugin +# unwanted dependency +%pom_remove_dep :h2 +rm src/test/java/org/apache/commons/csv/CSVPrinterTest.java + %mvn_file ":{*}" %{name} @1 %mvn_alias : commons-csv: @@ -53,6 +56,9 @@ find -name profile.jacoco -delete %license LICENSE.txt NOTICE.txt %changelog +* Mon Feb 06 2017 Michael Simacek - 1.4-2 +- Remove build dep on h2 + * Thu Jun 23 2016 Michael Simacek - 1.4-1 - Update to upstream version 1.4