1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- golang-github-a8m-envsubst.spec.orig 2022-06-24 22:08:37.889218576 -0500
+++ golang-github-a8m-envsubst.spec 2022-06-24 22:11:52.014119836 -0500
@@ -33,9 +33,8 @@
%go_generate_buildrequires
%build
-for cmd in cmd/* ; do
- %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
-done
+# Renamed to goenvsubst so this package doesn't conflict with gettext.
+%gobuild -o %{gobuilddir}/bin/goenvsubst %{goipath}/cmd/envsubst
%install
%gopkginstall
@@ -50,7 +49,7 @@
%files
%license LICENSE
%doc _example README.md
-%{_bindir}/*
+%{_bindir}/goenvsubst
%gopkgfiles