diff --git a/obs-service-kiwi_label_helper.changes b/obs-service-kiwi_label_helper.changes index e0b81a7..002e000 100644 --- a/obs-service-kiwi_label_helper.changes +++ b/obs-service-kiwi_label_helper.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Dec 6 17:07:08 UTC 2022 - Dominique Leuenberger + +- Do not ever use "%setup -n .": rpm 4.18 tries to be cleaner and + remove stuff it extraced, which would lead to 'rm -rf .', which + rm does not like. Use "%setup -c" instead, which creates the + appropriate %{name}-%{version} directory expected. + ------------------------------------------------------------------- Tue Jul 7 14:42:29 UTC 2020 - Fabian Vogt diff --git a/obs-service-kiwi_label_helper.spec b/obs-service-kiwi_label_helper.spec index 7292170..e462529 100644 --- a/obs-service-kiwi_label_helper.spec +++ b/obs-service-kiwi_label_helper.spec @@ -1,7 +1,7 @@ # # spec file for package obs-service-kiwi_label_helper # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,7 +35,7 @@ This service can be used during buildtime to implement the suse_label_helper:add_prefix element useful for building containers. %prep -%setup -q -D -T -n . +%setup -q -D -T -c cp %{SOURCE2} . %build