Re: emacs and /etc/alternatives

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

 



On Friday 09 March 2007 14:02:13 Toshio Kuratomi wrote:
> I don't believe circular depenencies per se are problems.  Certain
> instances are.  (Someone please correct me if I'm wrong, here.)  In this
> case, breaking out the dependency into a virtual provides would be the
> standard way to show that emacs-common requires one of /usr/bin/emacs-x
> or /usr/bin/emacs-nox.
>
> ### Main package is old emacs-common
> Requires: binemacs = %{version}-%{release}
>
> %package x
> Provides: binemacs = %{version}-%{release}
> Requires: %{name} = %{version}-%{release}
>
> %package nox
> Provides: binemacs = %{version}-%{release}
> Requires: %{name} = %{version}-%{release}
>
> s/binemacs/WhateverVirtualProvideStrikesYourFancy/

I thought about this, but what stopped me was I kept thinking that one would 
want to set a preference in the /usr/bin/emacs file, and that would require 
modification of the file, or an /etc/ file to set preference which led be 
back to well, we have alternatives....

Of course, if we don't give a care what /usr/bin/emacs runs, so long as it 
runs, then we could keep the script as is and use this Provides method and 
move on.

-- 
Jesse Keating
Release Engineer: Fedora

Attachment: pgp0PaB7tYynI.pgp
Description: PGP signature

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux