File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 37
37
# podman-machine subpackage will be present only on these architectures
38
38
%global machine_arches x86_64 aarch64
39
39
40
+ %if %{defined copr_build }
41
+ %define build_origin Copr: %{?copr_username }/%{?copr_projectname }
42
+ %else
43
+ %define build_origin %{?packager }
44
+ %endif
45
+
40
46
Name: podman
41
47
%if %{defined copr_build }
42
48
Epoch: 102
@@ -234,6 +240,7 @@ export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
234
240
export GOPROXY= direct
235
241
236
242
LDFLAGS= "-X %{ld_libpod }/define.buildInfo= ${SOURCE_DATE_EPOCH:-$(date +%s )} \
243
+ -X \"%{ld_libpod }/define.buildOrigin= %{build_origin }\" \
237
244
-X %{ld_libpod }/config._installPrefix= %{_prefix } \
238
245
-X %{ld_libpod }/config._etcDir= %{_sysconfdir } \
239
246
-X %{ld_project }/pkg/systemd/quadlet._binDir= %{_bindir }"
You can’t perform that action at this time.
0 commit comments