Skip to content

Commit 4ad665b

Browse files
committed
Merge branch '3.0-dev' into anphel/3-oct-2025-snap
2 parents ef7f9eb + de2b272 commit 4ad665b

File tree

317 files changed

+29561
-8978
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+29561
-8978
lines changed

.github/workflows/check-circular-deps.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,25 @@ jobs:
1919
- name: Workflow trigger checkout
2020
uses: actions/checkout@v4
2121

22+
- name: Determine DAILY_BUILD_ID value
23+
run: |
24+
echo "GitHub 'base_ref': ${{ github.base_ref }}"
25+
echo "GitHub 'ref': ${{ github.ref }}"
26+
27+
daily_build_id=
28+
if [[ "${{ github.base_ref }}" == fasttrack/* || "${{ github.ref }}" == refs/heads/fasttrack/* ]]; then
29+
echo "Building against a fast-track branch. Will use PMC RPM repo for reference."
30+
else
31+
echo "Not building against a fast-track branch. Will use daily build LKG RPM repo for reference."
32+
daily_build_id=lkg
33+
fi
34+
35+
echo "DAILY_BUILD_ID is set to '$daily_build_id'"
36+
echo "daily_build_id=$daily_build_id" >> $GITHUB_ENV
37+
2238
- name: Check for circular dependencies
2339
run: |
2440
echo "Checking for circular dependency loops..."
2541
# Setup the toolchain using the LKG daily build, and then make the full package graph.
2642
# This will fail if any circular dependency loops are detected in the core SPECs.
27-
sudo make -C toolkit graph REBUILD_TOOLS=y DAILY_BUILD_ID=lkg -j30
43+
sudo make -C toolkit graph REBUILD_TOOLS=y DAILY_BUILD_ID="${{ env.daily_build_id }}" -j30

.pipelines/containerSourceData/scripts/PublishContainers.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,16 +454,29 @@ do
454454
"$azure_linux_version" \
455455
"$ARCHITECTURE_TO_BUILD"
456456

457-
if $IS_HCI_GOLDEN_IMAGE; then
457+
if $IS_HCI_GOLDEN_IMAGE || [[ "$container_type" == "imagecustomizer" ]]; then
458458
# create multi-arch tag with major, minor, and patch version
459459
# e.g. azurelinuxpreview.azurecr.io/base/kubevirt/cdi-controller:1.55.0
460+
# e.g. azurelinuxpreview.azurecr.io/base/imagecustomizer:1.0.0
460461
create_multi_arch_tags \
461462
"$image_name_with_noarch" \
462463
"$container_name" \
463464
"$package_version" \
464465
"$azure_linux_version" \
465466
"$ARCHITECTURE_TO_BUILD"
466467
fi
468+
469+
# Special handling for imagecustomizer: create latest tag
470+
if [[ "$container_type" == "imagecustomizer" ]]; then
471+
# Create 'latest' tag pointing to the current version
472+
echo "Creating 'latest' tag for imagecustomizer"
473+
create_multi_arch_tags \
474+
"$image_name_with_noarch" \
475+
"$container_name" \
476+
"latest" \
477+
"$azure_linux_version" \
478+
"$ARCHITECTURE_TO_BUILD"
479+
fi
467480
fi
468481
done < "$PUBLISHED_CONTAINER_FILE"
469482
done

LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES-AND-NOTICES/SPECS/data/licenses.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,6 @@
839839
"libXtst",
840840
"libXv",
841841
"libXxf86vm",
842-
"libyami",
843842
"libyang",
844843
"libyubikey",
845844
"libzip",
@@ -1852,6 +1851,7 @@
18521851
"python-sphinxcontrib-qthelp",
18531852
"python-sphinxcontrib-serializinghtml",
18541853
"python-sphinxygen",
1854+
"python-spnego",
18551855
"python-sqlalchemy",
18561856
"python-suds",
18571857
"python-systemd",
@@ -1875,7 +1875,6 @@
18751875
"python-typing-extensions",
18761876
"python-typogrify",
18771877
"python-uamqp",
1878-
"python-unittest2",
18791878
"python-uritemplate",
18801879
"python-urwid",
18811880
"python-uswid",
@@ -2307,6 +2306,7 @@
23072306
"libconfini",
23082307
"libconfuse",
23092308
"libgdiplus",
2309+
"libimobiledevice-glue",
23102310
"libmaxminddb",
23112311
"libmetalink",
23122312
"libsafec",
@@ -2475,23 +2475,37 @@
24752475
"license": "[ASL 2.0 License and spec specific licenses](http://www.apache.org/licenses/LICENSE-2.0)",
24762476
"specs": [
24772477
"fwctl",
2478+
"fwctl-hwe",
2479+
"fwctl-hwe-signed",
24782480
"fwctl-signed",
24792481
"ibarr",
24802482
"ibsim",
24812483
"iser",
2484+
"iser-hwe",
2485+
"iser-hwe-signed",
24822486
"iser-signed",
24832487
"isert",
2488+
"isert-hwe",
2489+
"isert-hwe-signed",
24842490
"isert-signed",
24852491
"knem",
2492+
"knem-hwe",
2493+
"knem-hwe-modules-signed",
24862494
"knem-modules-signed",
24872495
"libnvidia-container",
24882496
"mft_kernel",
2497+
"mft_kernel-hwe",
2498+
"mft_kernel-hwe-signed",
24892499
"mft_kernel-signed",
24902500
"mlnx-ethtool",
24912501
"mlnx-iproute2",
24922502
"mlnx-nfsrdma",
2503+
"mlnx-nfsrdma-hwe",
2504+
"mlnx-nfsrdma-hwe-signed",
24932505
"mlnx-nfsrdma-signed",
24942506
"mlnx-ofa_kernel",
2507+
"mlnx-ofa_kernel-hwe",
2508+
"mlnx-ofa_kernel-hwe-modules-signed",
24952509
"mlnx-ofa_kernel-modules-signed",
24962510
"mlnx-tools",
24972511
"mlx-bootctl",
@@ -2504,8 +2518,12 @@
25042518
"rshim",
25052519
"sockperf",
25062520
"srp",
2521+
"srp-hwe",
2522+
"srp-hwe-signed",
25072523
"srp-signed",
25082524
"xpmem",
2525+
"xpmem-hwe",
2526+
"xpmem-hwe-modules-signed",
25092527
"xpmem-lib",
25102528
"xpmem-modules-signed"
25112529
]
@@ -2661,6 +2679,7 @@
26612679
"alsa-lib",
26622680
"alsa-utils",
26632681
"ansible",
2682+
"apparmor",
26642683
"apr",
26652684
"apr-util",
26662685
"asciidoc",

SPECS-EXTENDED/apache-commons-pool2/apache-commons-pool2.spec

Lines changed: 20 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Summary: Apache Commons Pool 2.x series
44
Name: apache-commons-pool2
55
Version: 2.4.2
6-
Release: 7%{?dist}
6+
Release: 8%{?dist}
77
License: Apache-2.0
88
Vendor: Microsoft Corporation
99
Distribution: Azure Linux
@@ -12,12 +12,11 @@ URL: https://commons.apache.org/proper/commons-pool/
1212
Source0: https://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
1313
Patch0: jakarta-commons-pool-build.patch
1414
BuildRequires: ant
15-
BuildRequires: ant-junit
1615
BuildRequires: cglib
1716
BuildRequires: fdupes
1817
BuildRequires: java-devel >= 1.8
19-
BuildRequires: javapackages-local-bootstrap
20-
BuildRequires: xml-commons-apis
18+
BuildRequires: javapackages-local-bootstrap >= 6
19+
BuildRequires: junit
2120
Requires: cglib
2221
Provides: %{short_name} = %{version}
2322
Obsoletes: %{short_name} < %{version}
@@ -44,55 +43,46 @@ This package contains the javadoc documentation for the Apache Commons
4443
Pool 2.x Package.
4544

4645
%prep
47-
%autosetup -p0 -n %{short_name}-%{version}-src
46+
%setup -q -n %{short_name}-%{version}-src
4847
# remove all binary libs
49-
find . -name "*.jar" -exec rm -f {} \;
50-
51-
%pom_remove_parent .
52-
%pom_xpath_inject "pom:project" "<groupId>org.apache.commons</groupId>" .
48+
find . -name "*.jar" -print -delete
49+
%patch -P 0
5350

5451
%build
55-
export CLASSPATH=%(build-classpath cglib objectweb-asm/asm objectweb-asm/asm-tree objectweb-asm/asm-util)
56-
%{ant} -Dbuild.sysclasspath=first clean dist
52+
echo "cglib.jar=$(build-classpath cglib)" >> build.properties
53+
ant \
54+
-Djavac.target.version=8 -Djavac.src.version=8 \
55+
-Djava.io.tmpdir=. clean dist
5756

5857
%install
5958
# jars
6059
install -d -m 755 %{buildroot}%{_javadir}
61-
install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
62-
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done)
63-
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
60+
install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
61+
ln -sf %{_javadir}/%{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
6462
# pom
6563
install -d -m 755 %{buildroot}%{_mavenpomdir}
66-
install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
67-
%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
64+
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
65+
%add_maven_depmap %{name}.pom %{name}.jar
6866

6967
# javadoc
7068
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
7169
cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
7270
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
7371

74-
%check
75-
export CLASSPATH=%(build-classpath cglib objectweb-asm/asm objectweb-asm/asm-tree objectweb-asm/asm-util)
76-
%{ant} -Dbuild.sysclasspath=first test
77-
78-
%files
72+
%files -f .mfiles
7973
%license LICENSE.txt
8074
%doc README.txt
81-
%{_javadir}/%{name}.jar
82-
%{_javadir}/%{name}-%{version}.jar
8375
%{_javadir}/%{short_name}.jar
84-
%{_javadir}/%{short_name}-%{version}.jar
85-
%{_mavenpomdir}/%{name}-%{version}.pom
86-
%if %{defined _maven_repository}
87-
%{_mavendepmapfragdir}/%{name}
88-
%else
89-
%{_datadir}/maven-metadata/%{name}.xml*
90-
%endif
9176

9277
%files javadoc
9378
%doc %{_javadocdir}/%{name}
79+
%exclude /usr/share/javadoc/%{name}/legal
9480

9581
%changelog
82+
* Wed May 28 2025 Durga Jagadeesh Palli <[email protected]> - 2.4.2-8
83+
- Initial Azure Linux import from openSUSE Tumbleweed (license: same as "License" tag).
84+
- License verified
85+
9686
* Wed Nov 09 2022 Sumedh Sharma <[email protected]> - 2.4.2-7
9787
- Enable check section
9888
- License verified
@@ -107,32 +97,25 @@ export CLASSPATH=%(build-classpath cglib objectweb-asm/asm objectweb-asm/asm-tre
10797
* Mon Mar 25 2019 Fridrich Strba <[email protected]>
10898
- Remove pom parent, since we don't use it when not building with
10999
maven
110-
111100
* Thu Dec 13 2018 Fridrich Strba <[email protected]>
112101
- Add maven pom file
113-
114102
* Tue May 15 2018 [email protected]
115103
- Build with source and target 8 to prepare for a possible removal
116104
of 1.6 compatibility
117105
- Run fdupes on documentation
118-
119106
* Thu Sep 14 2017 [email protected]
120107
- Fix javadoc build
121-
122108
* Thu Sep 29 2016 [email protected]
123109
- Version update to 2.4.2 release from pool2:
124110
* rename to latest 2.x pool series for dbcp and other packages
125-
126111
* Thu Sep 29 2016 [email protected]
127112
- Rename from jakarta-commons-pool to apache-commons-pool
128113
- Version update to 1.6:
129114
* drop the tomcat5 package, we need pool2 to work with new tomcat
130115
* Last and final from the pool1 series, new pool2 was introduced
131116
for future developement.
132-
133117
* Mon Sep 9 2013 [email protected]
134118
- Move from jpackage-utils to javapackage-tools
135-
136119
* Thu Mar 13 2008 [email protected]
137120
- merged with jpackage 1.7
138121
- update to 1.3
@@ -147,21 +130,15 @@ export CLASSPATH=%(build-classpath cglib objectweb-asm/asm objectweb-asm/asm-tre
147130
- provides and obsoletes of main package contains the version
148131
- new tomcat5 subpackage
149132
- new manual subpackage (build only with maven)
150-
151133
* Fri Sep 15 2006 [email protected]
152134
- set source=1.4 for java
153-
154135
* Wed Jan 25 2006 [email protected]
155136
- converted neededforbuild to BuildRequires
156-
157137
* Thu Jul 28 2005 [email protected]
158138
- Adjustments in the spec file.
159-
160139
* Mon Jul 18 2005 [email protected]
161140
- Current version 1.2 from JPackage.org
162-
163141
* Thu Sep 16 2004 [email protected]
164142
- Fix prerequires of javadoc subpackage
165-
166143
* Thu Sep 2 2004 [email protected]
167144
- Initial package created with version 1.2 (JPackage 1.5)

0 commit comments

Comments
 (0)