Commit Graph

22 Commits

Author SHA1 Message Date
Debarshi Ray
800ec3712d Update to 0.0.98.1 2021-01-07 20:36:04 +01:00
Debarshi Ray
0e1027a121 Update to 0.0.98 2021-01-05 18:29:31 +01:00
Debarshi Ray
c45736f5a2 Update to 0.0.97 2020-11-03 20:55:50 +01:00
Debarshi Ray
19102e8caf Update to 0.0.96 2020-10-01 20:25:44 +02:00
Debarshi Ray
a463b09a8e Update to 0.0.95 2020-08-30 22:56:44 +02:00
Debarshi Ray
f9e5eff5aa Update to 0.0.94
Based on code written by Ondřej Míchal.
2020-08-24 20:01:25 +02:00
Debarshi Ray
d3ce957850 Update to 0.0.93
The test suite has been temporarily disabled because ShellCheck 0.7.1
triggers SC2086 for some unquoted variables. It should be re-enabled as
soon as it's fixed upstream.
2020-07-25 11:48:27 +02:00
Debarshi Ray
795a1681f9 Update to 0.0.92 2020-07-03 16:08:39 +02:00
Harry Míchal
ba60453d21 Update to 0.0.91
Toolbox is now written in Go, so this is no longer a noarch package.

Unlike idiomatic Go code-bases, Toolbox uses the Meson build system to
check for additional non-Go dependencies and install various auxilliary
files. This leads to some interesting problems.

The Go toolchain doesn't play well with passing compiler and linker
flags via environment variables. The linker flags require a second
level of quoting, which leaves the build system without a quote level
to assign the flags to an environment variable like GOFLAGS.

This is one reason why Fedora doesn't have a RPM macro with only the
flags. The %{gobuild} RPM macro includes the entire 'go build ...'
invocation.

Therefore, the entire 'go build ...' invocation is swapped out using a
set of downstream patches (one for PPC64 because it doesn't use
'-buildmode pie', and another for other CPU architectures) to match
the %{gobuild} RPM macro.

The Go toolchain also doesn't like the LDFLAGS environment variable as
exported by Fedora's %{meson} RPM macro.

For some reason, when built on Koji, the final binary gets created as
../src/src instead of ../src/toolbox, but it doesn't happen when
building locally with 'rpmbuild -ba ...'. Hence it's necessary to
explicitly specify the name of the output binary.

Finally, Fedora doesn't support Go modules when building Go programs.
This means that Go's semantic import versioning can't be used.

A conscious effort was made to minimize the use of exotic Go-specific
RPM macros to retain the legibility of the spec file. A proliferation
of such RPM macros is a hindrance for those who are not experts in the
ins and outs of packaging Go code in Fedora.

Some changes by Debarshi Ray.

https://src.fedoraproject.org/rpms/toolbox/pull-request/2
2020-06-30 19:17:15 +02:00
Debarshi Ray
b58043a0c6 Update to 0.0.18 2020-01-14 16:35:45 +01:00
Debarshi Ray
02f9da9165 Update to 0.0.17 2019-11-20 18:13:56 +01:00
Debarshi Ray
dc193621b2 Update to 0.0.16 2019-10-29 16:18:06 +01:00
Debarshi Ray
74e17d85b0 Update to 0.0.15 2019-09-30 18:34:52 +02:00
Debarshi Ray
3071f36850 Update to 0.0.14
Fix a typo in the minimum Podman version requirement. Podman 1.4.0 is
meant to be fine.
2019-09-18 19:08:37 +02:00
Debarshi Ray
8cd9b48ced Update to 0.0.13 2019-09-05 15:14:13 +02:00
Debarshi Ray
2589ddfe46 Update to 0.0.12 2019-07-22 14:34:53 +02:00
Debarshi Ray
3b15753f16 Update to 0.0.11 2019-06-21 16:57:36 +02:00
Debarshi Ray
86f63f7964 Update to 0.0.10 2019-05-21 22:48:54 +02:00
Debarshi Ray
f5b32ef1d3 Update to 0.0.9 2019-04-30 12:56:48 +02:00
Debarshi Ray
83e7cea95a Update to 0.0.8 2019-04-12 17:31:21 +02:00
Debarshi Ray
b63f98c3b8 Update to 0.0.7 2019-03-14 14:25:59 +01:00
Debarshi Ray
33bd39b0f9 Initial build after rename from fedora-toolbox 2019-03-01 18:59:51 +01:00