diff --git a/openjpa.spec b/openjpa.spec index ebb8521..e36fbeb 100644 --- a/openjpa.spec +++ b/openjpa.spec @@ -1,7 +1,7 @@ %global with_tests 0 Name: openjpa Version: 2.4.1 -Release: 1 +Release: 2 Summary: Java Persistence 2.0 API License: ASL 2.0 and CDDL Url: http://openjpa.apache.org/ @@ -40,7 +40,6 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.hibernate.javax.persistence:hibernate-jpa-2.0-api) mvn(org.jmock:jmock) BuildRequires: mvn(org.jmock:jmock-junit4) mvn(org.osgi:org.osgi.core) mvn(org.ow2.asm:asm) BuildRequires: mvn(org.slf4j:slf4j-api) mvn(postgresql:postgresql) -BuildRequires: mvn(simple-jndi:simple-jndi) %if 0 BuildRequires: mvn(mariadb:mariadb-connector-java) %endif @@ -82,6 +81,7 @@ find . -name "*.jar" -delete %pom_remove_plugin :taglist-maven-plugin %pom_remove_plugin :apache-rat-plugin %pom_remove_dep net.sourceforge.findbugs:annotations +%pom_remove_dep simple-jndi:simple-jndi openjpa-persistence-jdbc %pom_xpath_remove "pom:profile[pom:id='ydoc-profile']" %pom_xpath_remove "pom:profile[pom:id='test-sybase-jconnect']" %{name}-persistence-jdbc %pom_xpath_remove "pom:profile[pom:id='test-soliddb']" %{name}-persistence-jdbc @@ -148,5 +148,8 @@ install -p -m 644 %{name}-ant %{buildroot}%{_sysconfdir}/ant.d/%{name} %license LICENSE NOTICE %changelog +* Tue Oct 27 2020 huanghaitao - 2.4.1-2 +- Remove simple-json dep + * Wed Aug 19 2020 zhanghua - 2.4.1-1 - Package init