The doc inspection performs a diff file-by-file and if there are
changes, raise an INFO event with the diff output.
Rust doc consists on over 60k html files, most of them containing
the rust NVR.
The doc inspection is raising a no-value INFO entry for most HTML
files for this NVR change. This is also generating report files
over 1.6GB in size, which ends up crashing the GitLab pipeline jobs.
Disable the inspection to prevent the crashes.
Resolves: RUST-61
This was dropped in
bdc2be1e01
but it's needed for EPEL 10, so adding it back.
Resolves: RHEL-60808
Signed-off-by: Davide Cavalca <dcavalca@centosproject.org>
Replace baseos-ci.brew-build.tier1-gating.functional test with
baseos-ci.brew-build.tier1-tmt-*.functional. The former was based on
beaker+TCMS which is legacy at this point, while the latter is
based on testing farm.
Related: RHEL-30090
This bring RHEL rust-toolset in sync with the latest Fedora
rust-packaging, most importantly:
* Fedora's new style (-v vendor) vendoring is implemented. The old RHEL
style (-V #) vendoring is still supported, at least until we can convert
everything in ELN.
* Automatic generation of bundled provides using %cargo_vendor_manifest.
However, instead of depending on cargo2rpm, a very stripped-down version
of just its parse-vendor-manifest command is provided as a private
script, along with a fileattr to call it.
Other changes incorporated in this commit:
* -Cstrip=none added to %build_rustflags.
* --profile rpm is used instead of --release.
* Errors in spawned commands are now caught.
* Comments and whitespace are synced for easier comparison with Fedora.
* --target all is dropped from license and vendor macros, to avoid false
alarms from windows crates.
rust-srpm-macros is a dependency of redhat-rpm-config so that Rust-based
SRPMs can rely on these particular macros. In RHEL 9 and earlier,
rust-srpm-macros was a separate source package which was included in
RHEL. Since then, it became a subpackage of rust-packaging in Fedora.
In order to not pull in any part of rust-packaging into RHEL 10, thereby
allowing it to be maintained separately in EPEL, those macros are
provided here instead.
This updates the RHEL/ELN rust-toolset macros to the state of
macros.rust and macros.cargo from Fedora rust-packaging v24, with
the following exceptions:
* %__cargo_to_rpm, as cargo2rpm is not shipped in RHEL;
* %cargo_registry, %cargo_instdir, and %cargo_generate_buildrequires
which are for building and/or consuming "library" crates which are not
built in RHEL;
* %__cargo_is_{bin,lib} and the is-lib conditional section of
%cargo_install, as they use cargo2rpm, and only "binary" crates are
built in RHEL;
* Dropped RUSTC_BOOTSTRAP and -Z avoid-dev-deps, as they are overly
broad and should not be needed with vendored builds (rust-packaging#23);
* Dropped rustflags that are already set by default (rust-packaging#24).