Re: packaging status for py_provides_macro and ldconfig_scriptlets

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

 



On 12/4/20 1:44 AM, Sérgio Basto wrote:
Hi,
Can we remove %ldconfig_scriptlets and
%{?python_provide:%python_provide python3-%{srcname}} from the specs ?

For packages with files and for Fedora 33+, the %python_provide call can be removed. For packages without files or on Fedora 32 or on EPEL 7/8 they should be replaced with %py_provides (although not worth doing it in mass). This is documented at https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_the_py_provides_macro

The %ldconfig_scriptlets macro can be removed on all Fedoras. Possibly also on EPEL 8. But it is required on EPEL 7.

The new documentation of packaging guidelines is very cool [1], I'd
like to suggest a section for scriptlets that can be removed fro spec
files and documentation since when, also if, inform how to deal with
epel 7 and 8 version, even better .

The guidelines are for Fedora, not EPEL. If you want, you can create/update a page in the EPEL guidelines, those are free-to-edit wiki:

https://fedoraproject.org/wiki/EPEL:Packaging#Scriptlets

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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