On Tue, Jul 09, 2013 at 04:37:40PM +0100, Daniel P. Berrange wrote:
On Tue, Jul 09, 2013 at 05:26:19PM +0200, Denys Vlasenko wrote:
Hi,
A package I maintain (mc) has two rarely-used python scripts.
Since they have #!/usr/bin/python header, build machinery automatically adds python dependency.
But I don't want this to happen - the program is very much usable without python too. Requiring python pulls in a top of other stuff which isn't needed.
Are those scripts installed into /usr/bin ? If so then, IMHO, removing the python dependency is not appropriate, regardless of whether the scripts are used frequently or not. Splitting them out into a sub-RPM might be a more suitable approach.
<nod> -- If this is a Fedora package, then a subpackage is definitely the way to go. Filtering out a dependency that is actually present would be introducing a bug.
-Toshio