6
0
forked from pool/moditect

6 Commits

4 changed files with 35 additions and 8 deletions

View File

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

3
1.3.0.Final.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon Aug 11 09:48:27 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Update to v1.3.0
* Features
+ Use maven-archiver to parse ouputTimestamp
+ Reduce code duplication in AddModuleInfoTest
* Fixes
+ Generate multi-release directory JAR entries
- Removed patch:
* 0001-Use-maven-archiver-to-parse-ouputTimestamp.patch
+ integrated in upstream
-------------------------------------------------------------------
Wed Jul 16 14:59:10 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Do not shade dependencies
- Added patch:
* 0001-Use-maven-archiver-to-parse-ouputTimestamp.patch
+ use MavenArchiver.parseBuildOutputTimestamp instead of custom
outputTimestamp parser
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 4 19:22:02 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com> Wed Sep 4 19:22:02 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package moditect # spec file for package moditect
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# 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
@@ -17,7 +17,7 @@
Name: moditect Name: moditect
Version: 1.2.2 Version: 1.3.0
Release: 0 Release: 0
Summary: Tooling for the Java Module System Summary: Tooling for the Java Module System
License: Apache-2.0 License: Apache-2.0
@@ -28,8 +28,13 @@ BuildRequires: fdupes
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(com.beust:jcommander) BuildRequires: mvn(com.beust:jcommander)
BuildRequires: mvn(com.github.javaparser:javaparser-core) BuildRequires: mvn(com.github.javaparser:javaparser-core)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) BuildRequires: mvn(org.apache.maven:maven-archiver)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.eclipse.aether:aether-util)
BuildRequires: mvn(org.ow2.asm:asm)
BuildArch: noarch BuildArch: noarch
%description %description
@@ -73,10 +78,10 @@ API documentation for %{name}.
%pom_disable_module integrationtest %pom_disable_module integrationtest
%pom_change_dep org.jcommander:jcommander com.beust: core %pom_change_dep org.jcommander:jcommander com.beust: core
%pom_remove_plugin :maven-shade-plugin core
%build %build
%{mvn_build} -f -- \ %{mvn_build} -f
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
%install %install
%mvn_install %mvn_install