!2 Remove simple-json dep

From: @hht8
Reviewed-by: @rita_dong
Signed-off-by: @rita_dong
This commit is contained in:
openeuler-ci-bot 2020-11-02 15:35:46 +08:00 committed by Gitee
commit ed89d3d654

View File

@ -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 <huanghaitao8@huawei.com> - 2.4.1-2
- Remove simple-json dep
* Wed Aug 19 2020 zhanghua <zhanghua40@huawei.com> - 2.4.1-1
- Package init