Hello community, here is the log from the commit of package apache-commons-dbcp for openSUSE:Factory checked in at 2018-12-19 13:48:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache-commons-dbcp (Old) and /work/SRC/openSUSE:Factory/.apache-commons-dbcp.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-dbcp" Wed Dec 19 13:48:26 2018 rev:4 rq:658634 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/apache-commons-dbcp/apache-commons-dbcp.changes 2018-07-24 17:30:23.887911353 +0200 +++ /work/SRC/openSUSE:Factory/.apache-commons-dbcp.new.28833/apache-commons-dbcp.changes 2018-12-19 13:48:31.147359653 +0100 @@ -1,0 +2,5 @@ +Sat Dec 15 14:17:20 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Add maven pom file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache-commons-dbcp.spec ++++++ --- /var/tmp/diff_new_pack.7cq80Z/_old 2018-12-19 13:48:32.491357783 +0100 +++ /var/tmp/diff_new_pack.7cq80Z/_new 2018-12-19 13:48:32.495357778 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,33 +24,34 @@ Summary: Jakarta Commons DataBase Pooling Package License: Apache-2.0 Group: Development/Libraries/Java -Url: https://commons.apache.org/proper/commons-dbcp/ -Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz -Source100: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc +URL: https://commons.apache.org/proper/commons-dbcp/ +Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz +Source100: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc Source101: commons.keyring Patch0: apache-commons-dbcp-sourcetarget.patch Patch1: apache-commons-dbcp-javadoc.patch BuildRequires: ant >= 1.6.5 BuildRequires: apache-commons-logging +BuildRequires: apache-commons-parent BuildRequires: apache-commons-pool2 BuildRequires: fdupes BuildRequires: geronimo-jta-1_1-api BuildRequires: java-devel >= 1.7 -BuildRequires: javapackages-tools +BuildRequires: javapackages-local BuildRequires: jdbc-stdext >= 2.0 BuildRequires: junit >= 3.8.1 BuildRequires: xerces-j2 +Requires: apache-commons-parent Requires: commons-collections >= 3.2 Requires: commons-pool2 Requires: jta_api >= 1.1 Requires(post): update-alternatives Requires(preun): update-alternatives Provides: %{short_name} = %{version}-%{release} -Obsoletes: %{short_name} < %{version} +Obsoletes: %{short_name} < %{version}-%{release} Provides: hibernate_jdbc_cache -Provides: jakarta-commons-dbcp = %{version} -Obsoletes: jakarta-commons-dbcp < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: jakarta-%{short_name} = %{version}-%{release} +Obsoletes: jakarta-%{short_name} < %{version}-%{release} BuildArch: noarch %description @@ -63,7 +64,7 @@ features. %package javadoc -Summary: Javadoc for jakarta-commons-dbcp +Summary: Javadoc for %{name} Group: Development/Libraries/Java %description javadoc @@ -102,6 +103,11 @@ install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}2-%{version}.jar (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done) (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}2-%{version}.pom +%add_maven_depmap %{name}2-%{version}.pom %{name}2-%{version}.jar + # javadoc install -d -m 755 %{buildroot}%{_javadocdir}/%{name} cp -pr dist/docs/* %{buildroot}%{_javadocdir}/%{name} @@ -120,17 +126,21 @@ fi %files -%defattr(-,root,root) -%doc LICENSE.txt +%license LICENSE.txt %{_javadir}/%{name}2.jar %{_javadir}/%{name}2-%{version}.jar %{_javadir}/%{short_name}.jar %{_javadir}/%{short_name}-%{version}.jar %{_javadir}/hibernate_jdbc_cache.jar %ghost %{_sysconfdir}/alternatives/hibernate_jdbc_cache.jar +%{_mavenpomdir}/%{name}2-%{version}.pom +%if %{defined _maven_repository} +%{_mavendepmapfragdir}/%{name} +%else +%{_datadir}/maven-metadata/%{name}.xml* +%endif %files javadoc -%defattr(-,root,root) -%doc %{_javadocdir}/%{name} +%{_javadocdir}/%{name} %changelog