On Fri, 22 Oct 2021, Peter Kotvan wrote:
Hello folks!
I'd like to package the autorandr project for Fedora. This would be my
first python package so I'd like to ask some questions.
Firstly the project already contains a spec file. However I'm not sure
whether it could be used without any modifications. For example the
%install section doesn't contain %pyproject_install but rather uses make
and install commands. But maybe it's the correct approach since the package
should contain not just python files and executables but also systemd unit
and udev rule.
I'd like to ask for guidance on how to approach this, especially whether
the original spec file is usable or if I should create a new one according
to Python Packaging Guidelines.
Hi Peter!
I took a quick look at the upstream .spec and it seems that it has a fair
amount of cruft that is no longer allowed in Fedora packaging (e.g.,
BuildRoot, Group, etc.) and as such probably doesn't meet current
packaging guidelines. I would just create a new one, or you could take
the existing one and update it to current standards - which is likely to
result in a smaller/simpler spec.
Scott
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure