From 9731ac00ae01ec26fdf1b7031ff1005e2cb9333fc47a29960b5efee814f2f1a8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 31 Dec 2021 21:00:24 +0000 Subject: [PATCH] Accepting request 943299 from home:david.anes:branches:Java:packages - 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 OBS-URL: https://build.opensuse.org/request/show/943299 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jdepend?expand=0&rev=12 --- 2.10.tar.gz | 3 +++ jdepend-2.9.1.pom => jdepend-2.10.pom | 2 +- jdepend-2.9.1.tar.bz2 | 3 --- jdepend-target16.patch | 20 +++++++++++--------- jdepend.changes | 12 ++++++++++++ jdepend.spec | 24 +++++++++++------------- 6 files changed, 38 insertions(+), 26 deletions(-) create mode 100644 2.10.tar.gz rename jdepend-2.9.1.pom => jdepend-2.10.pom (81%) delete mode 100644 jdepend-2.9.1.tar.bz2 diff --git a/2.10.tar.gz b/2.10.tar.gz new file mode 100644 index 0000000..3eae9fd --- /dev/null +++ b/2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c19f5d62127c11c20976ae130d1914a64f0115e5113810c38fe53bf8715378b +size 1226471 diff --git a/jdepend-2.9.1.pom b/jdepend-2.10.pom similarity index 81% rename from jdepend-2.9.1.pom rename to jdepend-2.10.pom index 704f7ef..016c66a 100644 --- a/jdepend-2.9.1.pom +++ b/jdepend-2.10.pom @@ -2,5 +2,5 @@ 4.0.0 jdepend jdepend - 2.9.1 + 2.10 \ No newline at end of file diff --git a/jdepend-2.9.1.tar.bz2 b/jdepend-2.9.1.tar.bz2 deleted file mode 100644 index a0c2dba..0000000 --- a/jdepend-2.9.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1381c76064f8e96a7b29b04ba3cb0a6f7ee27b700fd08e358e043bfdd82be1e6 -size 245043 diff --git a/jdepend-target16.patch b/jdepend-target16.patch index 89e4ce7..625f3c2 100644 --- a/jdepend-target16.patch +++ b/jdepend-target16.patch @@ -1,4 +1,6 @@ ---- build.xml +Index: build.xml +=================================================================== +--- build.xml.orig +++ build.xml @@ -38,7 +38,7 @@ @@ -7,23 +9,23 @@ - - -@@ -47,7 +47,7 @@ + debug="${build.debug}" + includeantruntime="false"> +@@ -48,7 +48,7 @@ - - -@@ -57,7 +57,7 @@ + debug="${build.debug}" + includeantruntime="false"> +@@ -59,7 +59,7 @@ - - + debug="${build.debug}" + includeantruntime="false"> diff --git a/jdepend.changes b/jdepend.changes index d086bd9..967d9df 100644 --- a/jdepend.changes +++ b/jdepend.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Dec 28 13:00:04 UTC 2021 - David Anes + +- 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 diff --git a/jdepend.spec b/jdepend.spec index 2a53e7a..50914a6 100644 --- a/jdepend.spec +++ b/jdepend.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,14 @@ %define section free Name: jdepend -Version: 2.9.1 +Version: 2.10 Release: 0 Summary: Java Design Quality Metrics -License: BSD-3-Clause +License: MIT Group: Development/Libraries/Java -URL: http://www.clarkware.com/ -Source0: %{url}software/%{name}-%{version}.tar.bz2 -Source1: https://repo1.maven.org/maven2/jdepend/%{name}/%{version}/%{name}-%{version}.pom +URL: http://www.clarkware.com/software/JDepend.html +Source0: https://github.com/clarkware/jdepend/archive/refs/tags/%{version}.tar.gz +Source1: %{name}-%{version}.pom Patch0: jdepend-target16.patch BuildRequires: ant BuildRequires: java-devel @@ -58,8 +58,6 @@ This package contains demonstration and sample files for JDepend. %setup -q # remove all binary libs find . -name "*.jar" -exec rm -f {} \; -# fix strange permissions -find . -type d -exec chmod 755 {} \; %patch0 -b .target15 %build @@ -74,16 +72,16 @@ install -m 644 dist/%{name}-%{version}.jar \ # pom 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 -# demo +# # demo install -d -m 755 %{buildroot}%{_datadir}/%{name} cp -pr sample %{buildroot}%{_datadir}/%{name} %files -%license LICENSE -%doc CHANGES README +%attr(644, root, root) %license LICENSE.md +%attr(644, root, root) %doc CHANGELOG.md README.md %{_javadir}/* %{_mavenpomdir}/* %if %{defined _maven_repository} @@ -93,6 +91,6 @@ cp -pr sample %{buildroot}%{_datadir}/%{name} %endif %files demo -%{_datadir}/%{name} +%attr(644, root, root) %{_datadir}/%{name} %changelog