Name: ezmorph Version: 1.0.6 Release: 19 Summary: Simple java library for transforming an Object to another Object License: ASL 2.0 URL: http://ezmorph.sourceforge.net/ Source0: %{name}-%{version}.tar.gz Source1: http://ezmorph.cvs.sourceforge.net/viewvc/ezmorph/ezmorph/LICENSE.txt BuildRequires: maven-local mvn(commons-beanutils:commons-beanutils) mvn(commons-lang:commons-lang) BuildRequires: mvn(commons-logging:commons-logging) mvn(junit:junit) mvn(log4j:log4j:12) BuildArch: noarch %description EZMorph is simple java library for transforming an Object to another Object. EZMorph comes with another feature: ArrayAssertions . JUnit 3.x does not have an assertEquals() method for asserting array equality, and JUnit 4.x has a limited one (it only supports Object[] not primitive arrays). With ArrayAssertions is possible to compare a boolean[] with a boolean[] or even a Boolean[], an those arrays can be multidimensional too. %package help Summary: Help document for %{name} Provides: ezmorph-javadoc = %{version}-%{release} Obsoletes: ezmorph-javadoc < %{version}-%{release} %description help This package contains the API documentation for %{name}. %prep %autosetup -p1 cp -p %{SOURCE1} . %pom_change_dep :log4j ::12 %pom_xpath_remove "pom:plugins" %mvn_file : %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE.txt %files help -f .mfiles-javadoc %changelog * Thu Mar 5 2020 wangzhishun - 1.0.6-19 - Package init