You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat rust-nix.spec | grep -A4 %check%check
# skip a test that tends to hang in systemd-nspawn environments%cargo_test -- -- \ --skip sys::test_socket::test_af_alg_aead \ --skip sys::test_socket::test_af_alg_aead
$ rpmspec -P *spec | grep -A4 %check%check
# skip a test that tends to hang in systemd-nspawn environments /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j12 -Z avoid-dev-deps --release --no-fail-fast -- \ (empty line here)
Same file, rpm-4.17.0-1.fc35.x86_64:
$ rpmspec -P $PWD/*spec|grep -A5 %check%check
# skip a test that tends to hang in systemd-nspawn environments/usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j4 -Z avoid-dev-deps --release --no-fail-fast -- \ --skip sys::test_socket::test_af_alg_aead \ --skip sys::test_socket::test_af_alg_aead
As discussed in the rust2rpm ticket, neither behaviour seems correct. Completely losing those lines is pretty bad and breaks users, but even the behaviour in 4.17.0 is strange: rpm neither completely ignores continuations and let's them through, nor does it completely consume them and concatenate the lines. Instead, it concatenates the lines but leaves the continuation symbols, effectively feeding escaped spaces to the next level of processing.
Based on the discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1045723, the behaviour in 4.17.0 was similar in Fedora 21, so the behaviour in 4.16 seems to be regression that was (partially?) fixed.
Please make multi-line macros work, and also please document what to expect.
The text was updated successfully, but these errors were encountered:
Forwarded from https://pagure.io/fedora-rust/rust2rpm/issue/138:
rpm-4.16.1.3-1.fc33.x86_64:
Same file, rpm-4.17.0-1.fc35.x86_64:
As discussed in the rust2rpm ticket, neither behaviour seems correct. Completely losing those lines is pretty bad and breaks users, but even the behaviour in 4.17.0 is strange: rpm neither completely ignores continuations and let's them through, nor does it completely consume them and concatenate the lines. Instead, it concatenates the lines but leaves the continuation symbols, effectively feeding escaped spaces to the next level of processing.
Based on the discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1045723, the behaviour in 4.17.0 was similar in Fedora 21, so the behaviour in 4.16 seems to be regression that was (partially?) fixed.
Please make multi-line macros work, and also please document what to expect.
The text was updated successfully, but these errors were encountered: