Re: Redesigning the %python_provide macro from scratch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 19. 04. 20 v 16:55 Miro Hrončok napsal(a):
> Hello Python packagers.
>
> After touching the %python_provide topic in:
>
> https://lists.fedoraproject.org/archives/list/python-devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/SSJLPWSGFGPYRSHXQZDR7JNQXSDGGX3Z/
>
>
> I have realized several things I don't like about %python_provide:
>
> 1) It must be used conditionally (it is not defined in
> python-srpm-macros).
> That means you always wrap it in %{?python_provide:...} in order to
> have a "valid" specfile even when the macro is not yet defined (e.g.
> during SRPM creation in Koji or on a packager's machine without
> python-rpm-macros installed).


This is an advantage. People does not need to have installed
python-srpm-macros just to build SRPM, when they are using Mock or Koji
to build the package. Please keep it this way.


Vít

_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux