request for pygrib packaging debug help

Bohuslav Kabrda bkabrda at redhat.com
Thu Jul 3 10:30:35 UTC 2014


----- 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.


More information about the devel mailing list