5 Commits

5 changed files with 26 additions and 12 deletions

View File

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

3
jdependency-1.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42ca00ab3adf89483a640225564d49b7433909e677acf19b8ff8ee092cee82f5
size 354634

View File

@@ -9,7 +9,7 @@
<property file="build.properties"/>
<property name="project.artifactId" value="jdependency"/>
<property name="project.groupId" value="org.vafer"/>
<property name="project.version" value="1.2"/>
<property name="project.version" value="1.4"/>
<property name="compiler.source" value="1.8"/>
<property name="compiler.target" value="${compiler.source}"/>
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Nov 8 09:31:10 UTC 2024 - ming li <mli@suse.com>
- Update version to 1.4:
* Upgraded dependencies
Update version to 1.3:
* Upgraded dependencies
* Inlined the dependencies
* Removed prerequisites from POM
-------------------------------------------------------------------
Wed Oct 2 15:52:30 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
-------------------------------------------------------------------
Mon Mar 21 05:27:10 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package jdependency
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%bcond_with tests
Name: jdependency
Version: 1.2
Version: 1.4
Release: 0
Summary: An API to analyse class dependencies
License: Apache-2.0
@@ -29,10 +29,8 @@ Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: apache-commons-io
BuildRequires: fdupes
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildRequires: objectweb-asm
Requires: apache-commons-io
Requires: objectweb-asm
BuildArch: noarch
%if %{with tests}
BuildRequires: ant-junit
@@ -60,7 +58,7 @@ mkdir -p lib
build-jar-repository -s lib commons-io objectweb-asm
%build
%{ant} \
ant \
%if %{without tests}
-Dtest.skip=true \
%endif
@@ -72,9 +70,9 @@ install -dm 0755 %{buildroot}%{_javadir}
install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar
# javadocdir
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
%fdupes -s %{buildroot}%{_javadocdir}