On Sun, Feb 11, 2024 at 06:44:26PM -0000, Fabrice wrote: > Hi, > > A long time ago I have created a spec file for python-radexreader: > https://src.fedoraproject.org/rpms/python-radexreader > > But today, I have a problem. > I'm working on version 2.0.0, and the program will provide graphical interfaces. > > With Debian, it's easy, currently the "spec" makes: > - python3-radexreader (python library) > - radexreader (cli command line) > I have added: > - radexreader-gtk3 > - radexreader-gtk4 > - radexreader-qt5 > - radexreader-qt6 > > But with Fedora (and openSUSE), currently the spec file makes: > - python3-radexreader (python library and cli command line) > > I guess I'll have to update the specs this way: > ---- > %package -n python3-radexreader > Summary: ... > BuildRequires: ... > Requires: ... > %description -n python3-radexreader ... > %files -n python3-radexreader ... > > %package -n radexreader > Summary: ... > BuildRequires: ... > Requires: ... > %description -n radexreader ... > %files -n radexreader ... > > %package -n radexreader-gtk3 > Summary: ... > BuildRequires: ... > Requires: ... > %description -n radexreader-gtk3 ... > %files -n radexreader-gtk3 ... This looks generally correct, except that I don't think you need all the subpackages. Just build for the latest versions of the toolkits supported. (Or maybe even just one select toolkit. You can always easily add another subpackage later, but removing one is more complex.) Zbyszek -- _______________________________________________ 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 Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue