diff --git a/obs-service-docker_label_helper.changes b/obs-service-docker_label_helper.changes index 13fa4c5..8b99c1c 100644 --- a/obs-service-docker_label_helper.changes +++ b/obs-service-docker_label_helper.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Dec 7 09:48:52 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. + ------------------------------------------------------------------- Thu Jul 21 12:50:28 UTC 2022 - Fabian Vogt diff --git a/obs-service-docker_label_helper.spec b/obs-service-docker_label_helper.spec index 2396738..48ea673 100644 --- a/obs-service-docker_label_helper.spec +++ b/obs-service-docker_label_helper.spec @@ -37,7 +37,7 @@ An OBS service which expands LABEL instructions in Dockerfile with prefixes. Useful for implementing https://en.opensuse.org/Building_derived_containers#Labels. %prep -%setup -q -D -T -n . +%setup -q -D -T -c cp %{SOURCE2} . %build