
On 2025-03-12 04:28, Masaru Nomiya wrote:
Hello,
Sorry for late reply.
In the Message;
Subject : Re: [oS-en] YaST2 update conflict Message-ID : <6f8d7044-02ca-4ce1-9068-e10742d1d29e@accesscomm.ca> Date & Time: Tue, 11 Mar 2025 16:44:56 -0600
[DG] == Darryl Gregorash <raven@accesscomm.ca> has written:
DG> On 2025-03-11 00:25, Masaru Nomiya wrote: [...] MN> > If you are not using Tumbleweed, you don't need to do anything, just MN> > leave it to the installer.
DG> I'm runninng 15.6, and actually the problem exists there also.
After reading your email and Carlos's email, I think I understand why you are confused.
I think the maintainer of the package you are trying to use created it in a way that all openSUSE users can use it.
Naturally, since the environment is different for each user's distro, I thought that the following script could control those differences in environment.
%if 0%{?suse_version} < 1600 Requires: python312-yt-dlp = %version %else Requires: python3-yt-dlp = %version %endif
However, my hypothesis is that this script is wrong. In other words, I think that the maintainer created the script assuming that, except for Tumbleweed, the value of $ rpm --eval %{suse_version} would be less than 1600, but in reality a large value is returned and the installer works in a way that is different from the maintainer's intention.
If you run $ rpm --eval %{suse_version} in your environment, it should return a value greater than 1600, right?
In Leap 15.6, hadron:~ # rpm --eval %{suse_version} 1500
I asked Google, but I couldn't find the value of suse_version after Leap 15.
Incidentally, this is the current Tumbleweed;
$ rpm --eval %{suse_version} 1699
As you can see from the above, the maintainer believes that if you use the package, python312-yt-dlp = %version will be installed on Leap 15.6, and that Tumbleweed users will install python3XX-yt-dlp on their own choice.
Here are the requires for the yt-dlp version that is to be installed: /usr/bin/python3.12 python3-yt-dlp = 2025.02.19 and the provides for the proposed python3-yt-dlp: Provides: python312-yt-dlp = 2025.02.19-150600.3.pm.1