Hello community, here is the log from the commit of package javassist for openSUSE:Factory checked in at 2018-11-08 09:39:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/javassist (Old) and /work/SRC/openSUSE:Factory/.javassist.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "javassist" Thu Nov 8 09:39:45 2018 rev:14 rq:644927 version:3.23.1 Changes: -------- --- /work/SRC/openSUSE:Factory/javassist/javassist.changes 2018-10-18 15:30:31.406702046 +0200 +++ /work/SRC/openSUSE:Factory/.javassist.new/javassist.changes 2018-11-08 09:39:47.677708394 +0100 @@ -1,0 +2,5 @@ +Thu Oct 18 11:32:34 UTC 2018 - Fridrich Strba <[email protected]> + +- Install and package the maven pom and metadata files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ javassist.spec ++++++ --- /var/tmp/diff_new_pack.lpB9Bt/_old 2018-11-08 09:39:48.229707757 +0100 +++ /var/tmp/diff_new_pack.lpB9Bt/_new 2018-11-08 09:39:48.229707757 +0100 @@ -30,6 +30,7 @@ BuildRequires: ant >= 1.6 BuildRequires: fdupes BuildRequires: java-devel >= 9 +BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -91,6 +92,11 @@ %{buildroot}/%{_javadir}/%{name}-%{version}.jar (cd %{buildroot}/%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -a javassist:javassist + # demo mkdir -p %{buildroot}/%{_datadir}/%{name}-%{version} cp -pr sample/* %{buildroot}/%{_datadir}/%{name}-%{version} @@ -111,6 +117,12 @@ %dir %{_docdir}/%{name}-%{version} %doc %{_docdir}/%{name}-%{version}/License.html %{_javadir}/*.jar +%{_mavenpomdir}/* +%if %{defined _maven_repository} +%{_mavendepmapfragdir}/%{name} +%else +%{_datadir}/maven-metadata/%{name}.xml* +%endif %files demo %defattr(0644,root,root,0755)
