From 601ba77b6d1d16e3d3132bb862fe4aece47404f6a689bade993b111539aa67d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Thu, 30 Jan 2025 11:18:45 +0000 Subject: [PATCH] Split unshare plugin configuration into a new "rpm-plugin-unshare" subpackage OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=686 --- rpm.changes | 19 +++++++++++++------ rpm.spec | 14 ++++++++++++++ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/rpm.changes b/rpm.changes index ed8ea30..0c2ca3c 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jan 30 12:17:34 CET 2025 - mls@suse.de + +- Split unshare plugin configuration into a new "rpm-plugin-unshare" + subpackage. This disables the plugin unless the new package + is installed. + +------------------------------------------------------------------- +Thu Jan 30 12:03:40 CET 2025 - Adrian Schröter + +- enable config.guess/sub update also for loongarch64 architecture +- update config.guess/sub files to current state from autoconf-2.72 + ------------------------------------------------------------------- Tue Jan 7 10:58:17 CET 2025 - mls@suse.de @@ -48,12 +61,6 @@ Mon Dec 16 11:55:23 CET 2024 - mls@suse.de - backport unshare fix from upstream and extend it a bit * new patch: unshare.diff -------------------------------------------------------------------- -Fri Nov 29 10:18:48 UTC 2024 - Adrian Schröter - -- enable config.guess/sub update also for loongarch64 architecture -- update config.guess/sub files to current state from autoconf-2.72 - ------------------------------------------------------------------- Mon Nov 11 08:43:56 UTC 2024 - Michal Suchanek diff --git a/rpm.spec b/rpm.spec index 0b5f93c..8d214c7 100644 --- a/rpm.spec +++ b/rpm.spec @@ -209,6 +209,13 @@ Conflicts: rpm < 4.15.0 If you want to build a rpm, you need this package. It provides rpmbuild and requires some packages that are usually required. +%package plugin-unshare +Summary: Rpm plugin for Linux namespace isolation functionality +Requires: rpm = %{version} + +%description plugin-unshare +Rpm plugin for Linux namespace isolation functionality. + %prep %setup -q -n rpm-%{version} %ifarch aarch64 ppc64le riscv64 loongarch64 @@ -413,6 +420,8 @@ fi %license COPYING %doc %{_datadir}/doc/packages/rpm %exclude %{_datadir}/doc/packages/rpm/API +%exclude /usr/lib/rpm/macros.d/macros.transaction_unshare +%exclude %{_mandir}/man8/rpm-plugin-unshare* /etc/rpm %if 0%{?suse_version} < 1550 /bin/rpm @@ -497,4 +506,9 @@ fi %{_libdir}/cmake/rpm %doc %{_datadir}/doc/packages/rpm/API +%files plugin-unshare +%defattr(-,root,root) +/usr/lib/rpm/macros.d/macros.transaction_unshare +%doc %{_mandir}/man8/rpm-plugin-unshare* + %changelog