Skip to content

Commit 3862379

Browse files
Build fix for jboss-interceptors (microsoft#13499)
Co-authored-by: Sandeep Karambelkar <[email protected]>
1 parent d6a293c commit 3862379

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

SPECS-EXTENDED/jboss-interceptors-1.2-api/jboss-interceptors-1.2-api-build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<property name="project.description" value="The ${project.name} classes from JSR 318."/>
1818
<property name="project.organization.name" value="JBoss by Red Hat"/>
1919

20-
<property name="compiler.source" value="1.6"/>
20+
<property name="compiler.source" value="1.8"/>
2121
<property name="compiler.target" value="${compiler.source}"/>
2222

2323
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Signatures": {
3-
"jboss-interceptors-1.2-api-build.xml": "f71077c41bed3663ad3ed560eb7e2569053cc78dff22678722062eb07efd8042",
3+
"jboss-interceptors-1.2-api-build.xml": "ffdbc2e6d32452ec47f02cacab7e250e6018ec54260caf558a2beac27d2df794",
44
"jboss-interceptors-api_1.2_spec-1.0.0.Final.tar.gz": "3f9487ec4b3e769fd1929348b20e8adbe427669365c1f932edb8a87425e86873"
55
}
66
}

SPECS-EXTENDED/jboss-interceptors-1.2-api/jboss-interceptors-1.2-api.spec

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Distribution: Azure Linux
2323
%global oname jboss-interceptors-api_1.2_spec
2424
Name: jboss-interceptors-1.2-api
2525
Version: 1.0.0
26-
Release: 2%{?dist}
26+
Release: 3%{?dist}
2727
Summary: Java EE Interceptors 1.2 API
2828
License: CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
2929
Group: Development/Libraries/Java
@@ -60,6 +60,8 @@ sed -i "s,59,51,;s,Temple Place,Franklin Street,;s,Suite 330,Fifth Floor,;s,0211
6060
%{ant} jar javadoc
6161

6262
%install
63+
mv target/site/apidocs/legal/ADDITIONAL_LICENSE_INFO .
64+
mv target/site/apidocs/legal/LICENSE .
6365
# jar
6466
install -dm 0755 %{buildroot}%{_javadir}
6567
install -pm 0644 target/%{oname}-%{namedversion}.jar %{buildroot}%{_javadir}/%{oname}.jar
@@ -80,9 +82,15 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
8082

8183
%files javadoc
8284
%license LICENSE
85+
%license ADDITIONAL_LICENSE_INFO
8386
%{_javadocdir}/%{name}
87+
%exclude /usr/share/javadoc/jboss-interceptors-1.2-api/legal/LICENSE
8488

8589
%changelog
90+
* Tue Aug 19 2025 Akarsh Chaudhary <[email protected]> - 1.0.0-3
91+
- Setting compiler.source to value 1.8 to fix the Build.
92+
- License verified
93+
8694
* Thu Oct 14 2021 Pawel Winogrodzki <[email protected]> - 1.0.0-2
8795
- Converting the 'Release' tag to the '[number].[distribution]' format.
8896

0 commit comments

Comments
 (0)