Re: How to remove auto generated python dependency?

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

 



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.

> How can I suppress this in the specfile?
> 
> AutoReqProv seems to be a too strong medicine - I would like
> to blacklist only python dep.

You can filter the provides/requires with a regex:

  https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Filtering_provides_and_requires_after_scanning

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux