Skip to content

Commit 8289ec9

Browse files
authored
Merge pull request #29 from cfergeau/rpm
spec file updates
2 parents 5e6bd7a + b673aa4 commit 8289ec9

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

crc-admin-helper.spec.in

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# https://github.com/code-ready/admin-helper
22
%global goipath github.com/code-ready/admin-helper
3-
Version: 0.0.2
3+
%global goname crc-admin-helper
4+
Version: 0.0.9
45

56
%gometa
67

@@ -51,12 +52,12 @@ make VERSION=%{version} GO_LDFLAGS="-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr
5152
%install
5253
# with fedora macros: gopkginstall
5354
install -m 0755 -vd %{buildroot}%{_bindir}
54-
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/linux-amd64/admin-helper %{buildroot}%{_bindir}/
55+
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/linux-amd64/crc-admin-helper %{buildroot}%{_bindir}/
5556

5657
install -d %{buildroot}%{_datadir}/%{name}-redistributable/{linux,macos,windows}
57-
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/linux-amd64/admin-helper %{buildroot}%{_datadir}/%{name}-redistributable/linux/
58-
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/windows-amd64/admin-helper.exe %{buildroot}%{_datadir}/%{name}-redistributable/windows/
59-
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/macos-amd64/admin-helper %{buildroot}%{_datadir}/%{name}-redistributable/macos/
58+
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/linux-amd64/crc-admin-helper %{buildroot}%{_datadir}/%{name}-redistributable/linux/
59+
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/windows-amd64/crc-admin-helper.exe %{buildroot}%{_datadir}/%{name}-redistributable/windows/
60+
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/macos-amd64/crc-admin-helper %{buildroot}%{_datadir}/%{name}-redistributable/macos/
6061

6162
%check
6263
# with fedora macros: gocheck
@@ -74,5 +75,8 @@ go test ./...
7475
#gopkgfiles
7576

7677
%changelog
78+
* Mon Jan 31 2022 Christophe Fergeau <[email protected]> - 0.0.9-1
79+
- Update to admin-helper 0.0.9
80+
7781
* Wed Feb 03 2021 Christophe Fergeau <[email protected]> - 0.0.2-1
7882
- Initial import in Fedora

0 commit comments

Comments
 (0)