From a2411d932823c4928c1411a5c621ae8d1e15c293c746971d758538496dcfd45d Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 4 Dec 2023 22:36:59 +0000 Subject: [PATCH] Accepting request 1130364 from home:mvyskocil:branches:Cloud:Tools - Move fdupes call back to %install It looked as an error during an update and it makes a little sense to deduplicate the package in %post. Moved (back) to %install. The existing package is not installable on my MicroOS system, so failing the transactional-update. ``` (50/54) Installing: cloud-init-23.3-1.1.aarch64 [....... /var/tmp/rpm-tmp.MzH9hQ: line 4: /usr/lib/rpm/fdupes_wrapper: No such file or directory warning: %post(cloud-init-23.3-1.1.aarch64) scriptlet failed, exit status 127 .done] ``` OBS-URL: https://build.opensuse.org/request/show/1130364 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=218 --- cloud-init.changes | 5 +++++ cloud-init.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cloud-init.changes b/cloud-init.changes index 80434ec..8fe726a 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 1 23:16:08 UTC 2023 - Michal Vyskocil + +- Move fdupes call back to %install + ------------------------------------------------------------------- Mon Oct 9 14:26:40 UTC 2023 - Robert Schweikert diff --git a/cloud-init.spec b/cloud-init.spec index 70652b0..65e237d 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -203,14 +203,14 @@ rm %{buildroot}/%{_sysconfdir}/cloud/templates/*.debian.* rm %{buildroot}/%{_sysconfdir}/cloud/templates/*.redhat.* rm %{buildroot}/%{_sysconfdir}/cloud/templates/*.ubuntu.* -%post -/usr/sbin/hidesensitivedata - # remove duplicate files %if 0%{?suse_version} %fdupes %{buildroot}%{python3_sitelib} %endif +%post +/usr/sbin/hidesensitivedata + %files %defattr(-,root,root) %license LICENSE LICENSE-GPLv3