Hello community,

here is the log from the commit of package apache-commons-beanutils for 
openSUSE:Factory checked in at 2018-10-31 13:21:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-beanutils (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-beanutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-beanutils"

Wed Oct 31 13:21:11 2018 rev:11 rq:645573 version:1.9.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache-commons-beanutils/apache-commons-beanutils.changes
        2018-09-24 13:12:45.229760138 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-beanutils.new/apache-commons-beanutils.changes
   2018-10-31 13:22:03.655022650 +0100
@@ -1,0 +2,5 @@
+Tue Oct 23 17:30:33 UTC 2018 - Fridrich Strba <[email protected]>
+
+- Cleanup the maven pom files installation
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache-commons-beanutils.spec ++++++
--- /var/tmp/diff_new_pack.jBf3bl/_old  2018-10-31 13:22:04.283022064 +0100
+++ /var/tmp/diff_new_pack.jBf3bl/_new  2018-10-31 13:22:04.287022061 +0100
@@ -32,6 +32,8 @@
 BuildRequires:  commons-collections
 BuildRequires:  commons-logging
 BuildRequires:  fdupes
+BuildRequires:  javapackages-local
+BuildRequires:  javapackages-tools
 BuildRequires:  xml-commons-apis
 Requires:       commons-collections >= 2.0
 Requires:       commons-logging >= 1.0
@@ -74,16 +76,19 @@
 %install
 # jars
 install -d -m 755 %{buildroot}%{_javadir}
-install -m 644 dist/%{short_name}-%{version}-SNAPSHOT.jar 
%{buildroot}%{_javadir}/%{name}.jar
+install -m 644 dist/%{short_name}-%{version}-SNAPSHOT.jar 
%{buildroot}%{_javadir}/%{name}-%{version}.jar
 
 pushd %{buildroot}%{_javadir}
+ln -s %{name}-%{version}.jar %{name}.jar
 for jar in *.jar; do
     ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
 done
 popd # come back from javadir
 
+# poms
 install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
+%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar -a 
"org.apache.commons:%{short_name}"
 
 # javadoc
 install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
@@ -95,7 +100,12 @@
 %license LICENSE.txt
 %doc NOTICE.txt RELEASE-NOTES.txt
 %{_javadir}/*
-%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)



Reply via email to