For Leap 15.4 and Leap 15.5 just does not exist. For Leap 15.6 there seems to be a difference in the available cargo-packaging. Leap 15.6 seems to use an older version/other patch set.
It seems that the devs set the build target for these failing packages intentionelly only for factory.
[ 55s] + just build-release
[ 55s] cargo build --release
[ 59s] error: package `bitstream-io v2.5.0` cannot be built because it requires rustc 1.79 or newer, while the currently active rustc version is 1.77.0
[ 59s] Either upgrade to rustc 1.79 or newer, or use
[ 59s] cargo update bitstream-io@2.5.0 --precise ver
[ 59s] where `ver` is the latest version of `bitstream-io` supporting rustc 1.77.0
[ 59s] error: Recipe `build-debug` failed on line 23 with exit code 101
[ 59s] error: Bad exit status from /var/tmp/rpm-tmp.R7hIfd (%build)
[ 51s] error: package `bitstream-io v2.4.2` cannot be built because it requires rustc 1.79 or newer, while the currently active rustc version is 1.77.0
[ 51s] Either upgrade to rustc 1.79 or newer, or use
[ 51s] cargo update bitstream-io@2.4.2 --precise ver
[ 51s] where `ver` is the latest version of `bitstream-io` supporting rustc 1.77.0
[ 51s] make: *** [Makefile:35: xdg-desktop-portal-cosmic] Error 101
[ 51s] error: Bad exit status from /var/tmp/rpm-tmp.dx7G5p (%build)
cosmic-greeter cannot find the pam dependency. OpenSUSE Software Search shows nothing for 15.6, so I checked pam in the Linux-PAM repo and here is what it shows for 15.6:
[ 64s] + install -m 755 /home/abuild/rpmbuild/BUILD/unix2_chkpwd /home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/usr/sbin
[ 64s] + install -D -m 644 /home/abuild/rpmbuild/SOURCES/macros.pam /home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/usr/lib/rpm/macros.d/macros.pam
[ 64s] + install -Dm0644 /home/abuild/rpmbuild/SOURCES/pam.tmpfiles /home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/usr/lib/tmpfiles.d/pam.conf
[ 64s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/etc/security/limits.d /home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/etc/security/namespace.d
[ 64s] + mv /home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/etc/environment /home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/etc/environment
[ 64s] mv: '/home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/etc/environment' and '/home/abuild/rpmbuild/BUILDROOT/pam-1.6.1-150600.1.1.x86_64/etc/environment' are the same file
[ 64s] error: Bad exit status from /var/tmp/rpm-tmp.fBSDUj (%install)
Good morning! Thank you all once more, I applied conditionals and switched to the openSUSE:Leap:15.6:Update repo!
There’s only one package left, xdg-desktop-portal-cosmic:
This is the problem in the files section: %{_libexecdir}/%{name}
You could change it to /usr/libexec/%{name}
The directory exists in Leap 15.6, but I do not know, if Leap 15.6 is using it, the other xdg-desktop-portal-(gtk or kde) are using /usr/lib as directory.