Skip to content

Commit 22e1637

Browse files
tobiasb-msCopilot
authored andcommitted
fix(antlr4-project): remove subpackage swift-antlr4-runtime
Drop swift-antlr4-runtime as it is only in the sdk repo and is not used by any other packages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 718a7a3 commit 22e1637

5 files changed

Lines changed: 15 additions & 3 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Don't build swift-antlr4-runtime as none of our packages depend on it.
2+
[components.antlr4-project]
3+
build.without = ["swift"]

base/comps/components.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ includes = ["**/*.comp.toml", "component-check-disablement.toml", "component-min
7676
[components.ansible-pcp]
7777
[components.anthy-unicode]
7878
[components.antlr]
79-
[components.antlr4-project]
8079
[components.aopalliance]
8180
[components.apache-commons-beanutils]
8281
[components.apache-commons-cli]

locks/antlr4-project.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
version = 1
33
import-commit = '6e2e13b7459340090e6d65d063d56d0ae9ffa21e'
44
upstream-commit = '6e2e13b7459340090e6d65d063d56d0ae9ffa21e'
5-
input-fingerprint = 'sha256:a70efb23e5c455d1226d0c8aa17d5333ca7152b2a283f4b966918aed02e3497b'
5+
input-fingerprint = 'sha256:30ce63fcf95f4fe4e0e4a82c7b8937d2d2a83ebff4fb69ccab51b73e3d5e8bd2'
66
resolution-input-hash = 'sha256:466421704711c4fd3c71f0b2ed715a0e61d49e3e26f3a2637fee755795849c8e'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Macros file automatically generated by azldev.
2+
# Do not edit manually; changes will be overwritten.
3+
%_without_swift 1

specs/a/antlr4-project/antlr4-project.spec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## (rpmautospec version 0.8.3)
33
## RPMAUTOSPEC: autorelease, autochangelog
44
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
5-
release_number = 11;
5+
release_number = 12;
66
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
77
print(release_number + base_release_number - 1);
88
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
@@ -11,6 +11,9 @@
1111
# This spec file has been modified by azldev to include build configuration overlays.
1212
# Do not edit manually; changes may be overwritten.
1313

14+
# All Azure Linux specs with overlays include this macro file, irrespective of whether new macros have been added.
15+
%{load:%{_sourcedir}/antlr4-project.azl.macros}
16+
1417
# OTHER LANGUAGE RUNTIMES:
1518
# - A PHP runtime is available as a separate project:
1619
# https://github.com/antlr/antlr-php-runtime/
@@ -39,6 +42,7 @@ License: BSD-3-Clause
3942
URL: https://www.antlr.org/
4043
VCS: git:%{giturl}.git
4144
Source: %{giturl}/archive/%{version}/antlr4-%{version}.tar.gz
45+
Source9999: antlr4-project.azl.macros
4246
# Fix some javadoc problems
4347
# https://github.com/antlr/antlr4/pull/2960
4448
Patch: antlr4-javadoc.patch
@@ -413,6 +417,9 @@ rm -fr %{buildroot}%{_docdir}/libantlr4
413417

414418
%changelog
415419
## START: Generated by rpmautospec
420+
* Thu Jul 02 2026 Tobias Brick <tobiasb@microsoft.com> - 4.13.2-12
421+
- fix(antlr4-project): remove subpackage swift-antlr4-runtime
422+
416423
* Thu Apr 30 2026 Daniel McIlvaney <damcilva@microsoft.com> - 4.13.2-11
417424
- feat: introduce deterministic commit resolution via Azure Linux lock file
418425

0 commit comments

Comments
 (0)