On Thu, Mar 9, 2017 at 12:39 AM, Orion Poplawski <orion@cora.nwra.com> wrote:
On 03/07/2017 10:16 AM, Marcin Dulak wrote:
> Hi,
>
> I have doubts about https://fedoraproject.org/wiki/Packaging:Python
>
> "For other executables, the general rule is:
>
> If only one executable is to be shipped, then it owns its own slot and should use /usr/bin/python3 from Fedora 22 on."
>
> The problem is discussed here
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1430020
>
> Please note that I prefer to keep the same spec file for Fedora and EPEL, otherwise it's too much burden maintaining it.
> I need help for correcting the spec so it complies with the guidelines, and makes sense for the users of the package.

My $0.02:

- I would suggest shipping the /usr/bin scripts in an 'idstools' sub-package
that requires the appropriate python?-idstools package.


but the scripts contain different shebangs depending on the python version,
so the sub-package cannot be really named independently of the python version.

For now I went with the standard way of providing all those script-2.X, script-2, script-3.X, script-3, script
in the appropriate packages.

 
- Since EL7 predates Fedora 22, python2 is considered the default python there
and the idstool scripts should be using the python2 version.

Marcin
 


--
Orion Poplawski
Technical Manager                          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
packaging mailing list -- packaging@lists.fedoraproject.org
To unsubscribe send an email to packaging-leave@lists.fedoraproject.org