Hello community, here is the log from the commit of package qdox for openSUSE:Factory checked in at 2018-11-10 16:47:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qdox (Old) and /work/SRC/openSUSE:Factory/.qdox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qdox" Sat Nov 10 16:47:23 2018 rev:21 rq:646384 version:1.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/qdox/qdox.changes 2018-04-07 20:46:57.820309199 +0200 +++ /work/SRC/openSUSE:Factory/.qdox.new/qdox.changes 2018-11-10 16:47:23.236644661 +0100 @@ -1,0 +2,5 @@ +Mon Oct 29 10:51:58 UTC 2018 - Fridrich Strba <[email protected]> + +- Install and package the maven artifact + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qdox.spec ++++++ --- /var/tmp/diff_new_pack.Z1e2EX/_old 2018-11-10 16:47:23.716644051 +0100 +++ /var/tmp/diff_new_pack.Z1e2EX/_new 2018-11-10 16:47:23.720644046 +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/ # @@ -25,7 +25,7 @@ Summary: Extract class/interface/method definitions from sources License: Apache-2.0 Group: Development/Libraries/Java -Url: http://qdox.codehaus.org/ +URL: http://qdox.codehaus.org/ # svn checkout https://svn.codehaus.org/qdox/tags/qdox-1.12.1 qdox-1.12.1 # tar --exclude-vcs -cJf qdox-1.12.1.tar.xz qdox-1.12.1 Source0: qdox-%{version}.tar.xz @@ -40,11 +40,10 @@ BuildRequires: byaccj BuildRequires: gpg2 BuildRequires: java-cup-bootstrap -BuildRequires: javapackages-tools +BuildRequires: javapackages-local BuildRequires: jflex-bootstrap BuildRequires: xz Obsoletes: %{name}-javadoc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -105,8 +104,8 @@ %install # jars -mkdir -p %{buildroot}%{_javadir} -cp -p target/%{name}-%{version}.jar \ +install -d -m 0755 %{buildroot}%{_javadir} +install -pm 644 target/%{name}-%{version}.jar \ %{buildroot}%{_javadir}/%{name}-%{version}.jar (cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) install -d -m 755 %{buildroot}%{repodir} @@ -116,11 +115,22 @@ install -p -m 644 %{SOURCE0} %{buildroot}%{repodirsrc} cp -p %{buildroot}%{_javadir}/qdox.jar %{buildroot}%{repodirlib} +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom +%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar + %files %defattr(0644,root,root,0755) -%doc LICENSE.txt +%license LICENSE.txt %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.jar +%{_mavenpomdir}/* +%if %{defined _maven_repository} +%{_mavendepmapfragdir}/%{name} +%else +%{_datadir}/maven-metadata/%{name}.xml* +%endif %files repolib %defattr(0644,root,root,0755)
