Accepting request 943360 from Java:packages

OBS-URL: https://build.opensuse.org/request/show/943360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jdepend?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2022-01-03 09:48:53 +00:00 committed by Git OBS Bridge
commit e18cdef33b
6 changed files with 38 additions and 26 deletions

BIN
2.10.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -2,5 +2,5 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>jdepend</groupId> <groupId>jdepend</groupId>
<artifactId>jdepend</artifactId> <artifactId>jdepend</artifactId>
<version>2.9.1</version> <version>2.10</version>
</project> </project>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1381c76064f8e96a7b29b04ba3cb0a6f7ee27b700fd08e358e043bfdd82be1e6
size 245043

View File

@ -1,4 +1,6 @@
--- build.xml Index: build.xml
===================================================================
--- build.xml.orig
+++ build.xml +++ build.xml
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
@ -7,23 +9,23 @@
- <javac srcdir="${src.dir}" - <javac srcdir="${src.dir}"
+ <javac source="1.6" target="1.6" srcdir="${src.dir}" + <javac source="1.6" target="1.6" srcdir="${src.dir}"
destdir="${build.dir}" destdir="${build.dir}"
debug="${build.debug}"> debug="${build.debug}"
<classpath refid="project.classpath"/> includeantruntime="false">
@@ -47,7 +47,7 @@ @@ -48,7 +48,7 @@
<target name="compile-sample" depends="prepare" <target name="compile-sample" depends="prepare"
description="Compiles the sample code"> description="Compiles the sample code">
- <javac srcdir="sample" - <javac srcdir="sample"
+ <javac source="1.6" target="1.6" srcdir="sample" + <javac source="1.6" target="1.6" srcdir="sample"
destdir="${build.dir}" destdir="${build.dir}"
debug="${build.debug}"> debug="${build.debug}"
<classpath refid="project.classpath"/> includeantruntime="false">
@@ -57,7 +57,7 @@ @@ -59,7 +59,7 @@
<target name="compile-tests" depends="compile" <target name="compile-tests" depends="compile"
if="junit.available" if="junit.available"
description="Compiles the test code"> description="Compiles the test code">
- <javac srcdir="${test.dir}" - <javac srcdir="${test.dir}"
+ <javac source="1.6" target="1.6" srcdir="${test.dir}" + <javac source="1.6" target="1.6" srcdir="${test.dir}"
destdir="${build.dir}" destdir="${build.dir}"
debug="${build.debug}"> debug="${build.debug}"
<classpath refid="project.classpath"/> includeantruntime="false">

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Dec 28 13:00:04 UTC 2021 - David Anes <david.anes@suse.com>
- Update to 2.10:
* Official release that includes support for Java 8 constants
- Updated license from BSD-3 Clause to MIT (as per LICENSE.md file).
- Fix installed files permissions (were too broad).
- Fix LICENSE, CHANGES and README permissions.
- Fix demo permissions (were too broad).
- Rebased patches:
* jdepend-target16.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 27 11:20:17 UTC 2018 - Fridrich Strba <fstrba@suse.com> Tue Nov 27 11:20:17 UTC 2018 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package jdepend # spec file for package jdepend
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,14 +18,14 @@
%define section free %define section free
Name: jdepend Name: jdepend
Version: 2.9.1 Version: 2.10
Release: 0 Release: 0
Summary: Java Design Quality Metrics Summary: Java Design Quality Metrics
License: BSD-3-Clause License: MIT
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: http://www.clarkware.com/ URL: http://www.clarkware.com/software/JDepend.html
Source0: %{url}software/%{name}-%{version}.tar.bz2 Source0: https://github.com/clarkware/jdepend/archive/refs/tags/%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/jdepend/%{name}/%{version}/%{name}-%{version}.pom Source1: %{name}-%{version}.pom
Patch0: jdepend-target16.patch Patch0: jdepend-target16.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: java-devel BuildRequires: java-devel
@ -58,8 +58,6 @@ This package contains demonstration and sample files for JDepend.
%setup -q %setup -q
# remove all binary libs # remove all binary libs
find . -name "*.jar" -exec rm -f {} \; find . -name "*.jar" -exec rm -f {} \;
# fix strange permissions
find . -type d -exec chmod 755 {} \;
%patch0 -b .target15 %patch0 -b .target15
%build %build
@ -74,16 +72,16 @@ install -m 644 dist/%{name}-%{version}.jar \
# pom # pom
install -d -m 755 %{buildroot}%{_mavenpomdir} install -d -m 755 %{buildroot}%{_mavenpomdir}
install -m 655 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom install -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar %add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
# demo # # demo
install -d -m 755 %{buildroot}%{_datadir}/%{name} install -d -m 755 %{buildroot}%{_datadir}/%{name}
cp -pr sample %{buildroot}%{_datadir}/%{name} cp -pr sample %{buildroot}%{_datadir}/%{name}
%files %files
%license LICENSE %attr(644, root, root) %license LICENSE.md
%doc CHANGES README %attr(644, root, root) %doc CHANGELOG.md README.md
%{_javadir}/* %{_javadir}/*
%{_mavenpomdir}/* %{_mavenpomdir}/*
%if %{defined _maven_repository} %if %{defined _maven_repository}
@ -93,6 +91,6 @@ cp -pr sample %{buildroot}%{_datadir}/%{name}
%endif %endif
%files demo %files demo
%{_datadir}/%{name} %attr(644, root, root) %{_datadir}/%{name}
%changelog %changelog