Skip to content

Fix version capture in Makefile#44

Open
sebastian-zm wants to merge 1 commit into
dnut:masterfrom
sebastian-zm:master
Open

Fix version capture in Makefile#44
sebastian-zm wants to merge 1 commit into
dnut:masterfrom
sebastian-zm:master

Conversation

@sebastian-zm

@sebastian-zm sebastian-zm commented Oct 25, 2025

Copy link
Copy Markdown

I am having trouble building the rpm in fedora, because grep doesn't detect a capture group for the \1 backreference. With this pull request, I quote the parentheses to fix the error. Here is a sample Dockerfile that allows to reproduce the issue.

FROM quay.io/fedora/fedora-minimal:42 AS build-clipboard-sync

WORKDIR /src
RUN dnf install -y git rpm-build rpmdevtools libxcb-devel systemd-rpm-macros rust cargo
COPY . .
RUN make rpm

Closes #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in Makefile (calculating version)

1 participant