Commit Graph

75 Commits

Author SHA1 Message Date
Ondřej Míchal
3a1aa2f691 Add upstream patch fixing doubled error messages 2022-01-09 23:13:42 +02:00
Debarshi Ray
9bebde5bb6 BuildRequire only systemd-rpm-macros
... as recommended by the Fedora packaging guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Tmpfiles.d/
https://pagure.io/packaging-committee/issue/824
2021-12-10 11:24:35 +01:00
Debarshi Ray
ca91d5a3eb Style fix
No need to issue a build just for this.
2021-12-10 10:05:18 +01:00
Debarshi Ray
deb9c1e8e6 Update URL to point to the website
No need to issue a build just for this.
2021-12-10 05:11:42 +01:00
Debarshi Ray
88b0cbf084 Specify the minimum Meson version
No need to issue a build just for this.
2021-12-10 05:09:40 +01:00
Debarshi Ray
08f687ebe2 Update to 0.0.99.3 2021-12-10 04:47:38 +01:00
Debarshi Ray
70f5d2352c Restore backwards compatibility with existing containers
https://bugzilla.redhat.com/show_bug.cgi?id=1995439
2021-10-26 00:22:22 +02:00
Debarshi Ray
01cc5e6ecc Ensure that binaries are run against their build-time ABI
https://bugzilla.redhat.com/show_bug.cgi?id=1995439
2021-10-22 02:43:56 +02:00
Oliver Gutierrez
c872492676
Rebuilt for gating 2021-09-13 16:02:32 +01:00
Oliver Gutierrez
c41104fe32
Rebuilt for gating tests 2021-09-09 09:37:58 +01:00
Oliver Gutierrez
482da6793f
Bumped version for rerun gating after updating the ansible playbooks 2021-08-23 19:26:50 +01:00
Oliver Gutierrez
4fbf8c365e
Fixed playbooks for gating 2021-08-23 19:25:13 +01:00
Oliver Gutierrez
a6a68d9aae
Version bump to build and check fedora gating 2021-08-20 11:30:18 +01:00
Oliver Gutierrez
cff1e3addf
Fixed missing environment in gating ansible playbook 2021-08-20 10:40:24 +01:00
Oliver Gutierrez
146838a614
Fixed errors in gating ansible playbook 2021-08-20 10:37:29 +01:00
Oliver Gutierrez
28e8056771
Updated specfile for gating execution 2021-08-18 12:44:07 +01:00
Oliver Gutierrez
4d43cbffea
Added fedora gating 2021-08-18 12:41:51 +01:00
Debarshi Ray
f8eb06d3a5 Require containers-common for ownership of %%{_sysconfdir}/containers 2021-08-18 01:01:24 +02:00
Oliver Gutierrez
10d00acf90
Updated to 0.0.99.2^3.git075b9a8d2779 snapshot 2021-08-09 19:11:49 +01:00
Oliver Gutierrez
8b5e951037
Updated to 0.0.99.2^2.git40fbd377ed0b snapshot 2021-07-29 14:27:25 +01:00
Oliver Gutierrez
c3bb2b8822
Rebased toolbox-Don-t-use-Go-s-semantic-import-versioning.patch 2021-07-28 18:23:06 +01:00
Oliver Gutierrez
afdd5f1cb8
Added missing configuration file 2021-07-28 17:54:13 +01:00
Oliver Gutierrez
05525c1a8e
Updated sources tarball 2021-07-28 17:30:50 +01:00
Oliver Gutierrez
906afe610c
Updated sources to 0.00.99.2^1.git9820550c82bb snapshot 2021-07-28 16:55:24 +01:00
Oliver Gutierrez
c6fdde6d4a
Added changelog entry for the update dependencies of -tests subpackage 2021-07-28 16:25:06 +01:00
Ondřej Míchal
a961891ea2 Update dependencies of -tests subpackage 2021-07-28 15:13:47 +00:00
Fedora Release Engineering
382aa99213 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 19:27:42 +00:00
Debarshi Ray
42c803ef25 Add bc and iproute to the toolbox-experience sub-package
No need to issue a build just for this.
2021-07-08 20:59:14 +02:00
Debarshi Ray
bd527008a2 Disable DWARF compression
This mimics the change in go-rpm-macros [1] for Fedora 35.

[1] go-rpm-macros commit 9f1ba3d1d27f4e81
    https://pagure.io/go-rpm-macros/c/9f1ba3d1d27f4e81

https://bugzilla.redhat.com/show_bug.cgi?id=1961214
2021-06-28 13:56:17 +02:00
Debarshi Ray
12df1ef16a Update to 0.0.99.2
Disable the %check section because 'go test ...' isn't working as it
is in the build environment.
2021-06-26 21:58:41 +02:00
Debarshi Ray
a88a4b95ce Tweak the Summary
No need to issue a build just for this.
2021-04-29 01:02:13 +02:00
Debarshi Ray
aba1d296b5 Update to 0.0.99.1 2021-02-23 20:19:10 +01:00
Fedora Release Engineering
61252314d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 22:07:14 +00:00
Debarshi Ray
07c5601e0b Update to 0.0.99 2021-01-12 14:16:48 +01:00
Debarshi Ray
12f33fed75 Harden the binary by using the same CGO_CFLAGS as on RHEL 8 2021-01-11 12:58:00 +01:00
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
Ondřej Míchal
8803d58154 Tweak the description
No need to issue a build just for this.
2020-11-25 22:49:47 +01:00
Ondřej Míchal
61caa93712 Move krb5-libs to -experience, and update the list of packages
The krb5-libs package is necessary to ensure the presence of the
/etc/krb5.conf.d directory with the correct permissions. However, it's
not strictly necessary and toolbox(1) can work without it.

https://src.fedoraproject.org/rpms/toolbox/pull-request/4
2020-11-25 22:08:30 +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
Fedora Release Engineering
adbd3c3842 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 12:41:16 +00: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
Debarshi Ray
52cbc50450 Fix the 'toolbox --version' output
Even though the actual release is 0.0.91, 'toolbox --version' was
showing 0.0.90.
2020-07-03 15:50:01 +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
1e0a40de3b Update URL to point at the latest extra-packages file for Fedora 33
There's no need to issue a build just for this.
2020-06-30 14:15:33 +02:00
Debarshi Ray
18da587cc5 Use %{name} instead of hard-coding 'toolbox'
There's no need to issue a build just for this.
2020-06-30 14:11:46 +02:00