----- Original Message -----
> Hi everyone,
> 
> I am having a small issue with the pygrib package that I am maintaining.
> The package depends on pyproj, but when I install it with yum it also
> pulls in python3-pyproj.
> All python3 related things are wrapped in "%if 0%{?with_python3}"
> macros, so this should not happen I think.
> Clearly I am overlooking some dependency issue in my spec file.
> Any help would be appreciated.

You have correctly wrapped the "Requires: python3-pyproj" line in with_python3, 
but you put it in the *main* package. You need to move it to the "%package -n 
python3-%{name}" section.

> Best regards,
> 
> Jos de Kloe

-- 
Regards,
Bohuslav "Slavek" Kabrda.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to