-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce base RPM package size, re-add in container image (#3056)
* Reduce rpm size and reinstate in container image * Updated per code review comments
- Loading branch information
1 parent
024943f
commit 8c3cf71
Showing
6 changed files
with
41 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Summary: Metapackage with core sets of packages | ||
Name: core-packages | ||
Version: 2.0 | ||
Release: 5%{?dist} | ||
Release: 6%{?dist} | ||
License: ASL 2.0 | ||
Vendor: Microsoft Corporation | ||
Distribution: Mariner | ||
|
@@ -39,7 +39,6 @@ Requires: net-tools | |
Requires: openssh-clients | ||
Requires: pkg-config | ||
Requires: procps-ng | ||
Requires: rpm | ||
Requires: sudo | ||
Requires: systemd | ||
Requires: tar | ||
|
@@ -69,6 +68,7 @@ Requires: nspr | |
Requires: nss-libs | ||
Requires: openssl | ||
Requires: readline | ||
Requires: rpm | ||
Requires: rpm-libs | ||
Requires: sed | ||
Requires: sqlite-libs | ||
|
@@ -89,6 +89,9 @@ Requires: zlib | |
%files container | ||
|
||
%changelog | ||
* Tue May 24 2022 Jon Slobodzian <[email protected]> - 2.0-6 | ||
- Add rpm to base container image | ||
|
||
* Wed May 04 2022 Suresh Babu Chalamalasetty <[email protected]> - 2.0-5 | ||
- Add gzip and sed to base container image | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Summary: Package manager | ||
Name: rpm | ||
Version: 4.17.0 | ||
Release: 7%{?dist} | ||
Release: 8%{?dist} | ||
License: GPLv2+ AND LGPLv2+ AND BSD | ||
Vendor: Microsoft Corporation | ||
Distribution: Mariner | ||
|
@@ -34,7 +34,7 @@ BuildRequires: zstd-devel | |
Requires: bash | ||
Requires: libarchive | ||
Requires: libselinux | ||
Requires: lua | ||
Requires: lua-libs | ||
Requires: rpm-libs = %{version}-%{release} | ||
|
||
Patch0: remove-docs-from-makefile.patch | ||
|
@@ -82,6 +82,7 @@ Requires: elfutils-devel | |
Requires: elfutils-libelf | ||
Requires: file | ||
Requires: gzip | ||
Requires: lua | ||
Requires: mariner-rpm-macros | ||
Requires: patch | ||
Requires: tar | ||
|
@@ -206,8 +207,6 @@ popd | |
%{_libdir}/rpm/tgpg | ||
%{_libdir}/rpm/platform | ||
%{_libdir}/rpm-plugins/* | ||
%{_libdir}/rpm/pythondistdeps.py | ||
%{_fileattrsdir}/python.attr | ||
# Because of no doxygen dependency, we do not produce manpages that require it. | ||
# %{_mandir}/man8/rpm.8.gz | ||
# %{_mandir}/man8/rpm2cpio.8.gz | ||
|
@@ -248,6 +247,7 @@ popd | |
%{_libdir}/rpm/mkinstalldirs | ||
%{_libdir}/rpm/pkgconfigdeps.sh | ||
%{_libdir}/rpm/*.prov | ||
%{_libdir}/rpm/pythondistdeps.py | ||
|
||
%{_libdir}/rpm/pythondeps.sh | ||
%{_libdir}/rpm/ocamldeps.sh | ||
|
@@ -276,6 +276,10 @@ popd | |
%{python3_sitelib}/* | ||
|
||
%changelog | ||
* Tue May 24 2022 Jon Slobodzian <[email protected]> - 4.17.0-8 | ||
- Move lua runtime dependency from main rpm package. Move to rpm-build. | ||
- Move python files to rpm-build package. This removes the implied dependency on python3 by the rpm package. | ||
|
||
* Fri May 13 2022 Andy Caldwell <[email protected]> - 4.17.0-7 | ||
- Add missing dependencies to rpmbuild (file, diff and patch) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters