Dominique Leuenberger 2022-12-08 15:52:35 +00:00 committed by Git OBS Bridge
commit db4e8326fd
3 changed files with 10 additions and 2 deletions

2
README
View File

@ -23,7 +23,7 @@ FROM opensuse/tumbleweed
LABEL org.opencontainers.image.title="Example container" LABEL org.opencontainers.image.title="Example container"
LABEL org.opencontainers.image.description="This contains nano" LABEL org.opencontainers.image.description="This contains nano"
# endlabelprefix # endlabelprefix
LABEL not.expanded.label="example LABEL not.expanded.label="example"
``` ```
expands to expands to

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Dec 7 09:48:52 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <fvogt@suse.com> Thu Jul 21 12:50:28 UTC 2022 - Fabian Vogt <fvogt@suse.com>

View File

@ -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. Useful for implementing https://en.opensuse.org/Building_derived_containers#Labels.
%prep %prep
%setup -q -D -T -n . %setup -q -D -T -c
cp %{SOURCE2} . cp %{SOURCE2} .
%build %build