File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Group: Development/Libraries/Java
2828URL: https://args4j.kohsuke.org
2929Source0: https://github.com/kohsuke/%{name }/archive/%{name }-site-%{version }.tar.gz
3030Source1: %{name }-build.tar.xz
31+ Patch0: change-source-option-to-1.8.patch
3132BuildRequires: ant
3233BuildRequires: fdupes
3334BuildRequires: java-devel
@@ -65,7 +66,7 @@ Group: Documentation/HTML
6566This package contains the API documentation for %{name }.
6667
6768%prep
68- %setup -q - n %{name }-%{name }-site-%{version } -a 1
69+ %autosetup -a1 -p1 - n %{name }-%{name }-site-%{version }
6970
7071# removing classpath addition
7172sed -i 's/< addClasspath> true/< addClasspath> false/g' %{name }-tools/pom.xml
@@ -136,6 +137,10 @@ cp -r %{name}-tools/target/site/apidocs %{buildroot}%{_javadocdir}/%{name}/%{nam
136137%license %{name }/LICENSE.txt
137138
138139%changelog
140+ * Fri Jul 18 2025 Sumit Jena <v-sumitjena@microsoft.com> - 2.33.3
141+ - Patch to change source and target options as build fix
142+ - License verified
143+
139144* Thu Oct 14 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.33-2
140145- Converting the 'Release' tag to the '[number].[distribution]' format.
141146
Original file line number Diff line number Diff line change 1+ From e9080c1382570c9b028b60210ad0779a10a82ab2 Mon Sep 17 00:00:00 2001
2+ From: SumitJenaHCL <v-sumitjena@microsoft.com>
3+ Date: Thu, 10 Jul 2025 05:15:48 +0000
4+ Subject: [PATCH] change source option to 1.8
5+
6+ ---
7+ common.xml | 2 +-
8+ 1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+ diff --git a/common.xml b/common.xml
11+ index 37d36f4..d3486a0 100644
12+ --- a/common.xml
13+ +++ b/common.xml
14+ @@ -7,7 +7,7 @@
15+ <property name="project.groupId" value="args4j"/>
16+ <property name="bundle.version" value="${project.version}.0"/>
17+
18+ - <property name="compiler.source" value="1.6"/>
19+ + <property name="compiler.source" value="1.8"/>
20+ <property name="compiler.target" value="${compiler.source}"/>
21+
22+ </project>
23+ - -
24+ 2.45.2
25+
You can’t perform that action at this time.
0 commit comments