Hello community, here is the log from the commit of package jdepend for openSUSE:Factory checked in at 2017-06-10 18:33:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jdepend (Old) and /work/SRC/openSUSE:Factory/.jdepend.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jdepend" Sat Jun 10 18:33:05 2017 rev:16 rq:502548 version:2.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/jdepend/jdepend.changes 2011-09-23 02:04:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.jdepend.new/jdepend.changes 2017-06-10 18:33:06.310977147 +0200 @@ -1,0 +2,5 @@ +Fri Jun 9 10:17:28 UTC 2017 - tchva...@suse.com + +- Drop javadoc so we build with gcj properly + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jdepend.spec ++++++ --- /var/tmp/diff_new_pack.tmPgGv/_old 2017-06-10 18:33:06.842901937 +0200 +++ /var/tmp/diff_new_pack.tmPgGv/_new 2017-06-10 18:33:06.846901371 +0200 @@ -1,7 +1,7 @@ # -# spec file for package jdepend (Version 2.9.1) +# spec file for package jdepend # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,24 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild -# icecream 0 %define section free - Name: jdepend Version: 2.9.1 -Release: 72 +Release: 0 Summary: Java Design Quality Metrics License: BSD-3-Clause -Url: http://www.clarkware.com/ Group: Development/Libraries/Java +Url: http://www.clarkware.com/ Source0: %{url}software/%{name}-%{version}.tar.bz2 Patch0: jdepend-target15.patch BuildRequires: ant BuildRequires: java-devel -BuildArch: noarch +Obsoletes: %{name}-javadoc BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description JDepend traverses a set of Java class and source file directories and @@ -41,26 +39,7 @@ extensibility, reusability, and maintainability to effectively manage and control package dependencies. - - -%package javadoc -License: BSD-3-Clause -Summary: Javadoc for jdepend -Group: Development/Libraries/Java - -%description javadoc -JDepend traverses a set of Java class and source file directories and -generates design quality metrics for each Java package. JDepend allows -you to automatically measure the quality of a design in terms of its -extensibility, reusability, and maintainability to effectively manage -and control package dependencies. - -This package contains the javadoc documentation for JDepend. - - - %package demo -License: BSD-3-Clause Summary: Demonstration and sample files for jdepend Group: Development/Libraries/Java Requires: %{name} = %{version}-%{release} @@ -74,8 +53,6 @@ This package contains demonstration and sample files for JDepend. - - %prep %setup -q # remove all binary libs @@ -85,37 +62,23 @@ %patch0 -b .target15 %build -ant jar javadoc +ant jar %install # jars -install -d -m 755 $RPM_BUILD_ROOT%{_javadir} +install -d -m 755 %{buildroot}%{_javadir} install -m 644 dist/%{name}-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar -(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) -# javadoc -install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -cp -pr build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} -rm -rf docs/api + %{buildroot}%{_javadir}/%{name}-%{version}.jar +(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) # demo -install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} -cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name} - -%clean -rm -rf $RPM_BUILD_ROOT +install -d -m 755 %{buildroot}%{_datadir}/%{name} +cp -pr sample %{buildroot}%{_datadir}/%{name} %files %defattr(-,root,root) %doc CHANGES README LICENSE %{_javadir}/* -%files javadoc -%defattr(-,root,root) -%doc docs -%{_javadocdir}/%{name}-%{version} -%doc %{_javadocdir}/%{name} - %files demo %defattr(-,root,root) %{_datadir}/%{name}