diff --git a/obs-service-kiwi_metainfo_helper.changes b/obs-service-kiwi_metainfo_helper.changes index 2d96931..24578f8 100644 --- a/obs-service-kiwi_metainfo_helper.changes +++ b/obs-service-kiwi_metainfo_helper.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Dec 6 17:10:20 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 Feb 15 11:03:50 UTC 2022 - Frederic Crozat diff --git a/obs-service-kiwi_metainfo_helper.spec b/obs-service-kiwi_metainfo_helper.spec index bafa6d5..6f97a7b 100644 --- a/obs-service-kiwi_metainfo_helper.spec +++ b/obs-service-kiwi_metainfo_helper.spec @@ -40,7 +40,7 @@ This service can be used during buildtime to gain access to various variables in build recipes. %prep -%setup -q -D -T -n . +%setup -q -D -T -c cp %{SOURCE2} . %build