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

Re: [virt-tools-list] [virt-viewer] spec: Deprecate spice-client



On Thu, May 23, 2013 at 03:46:38PM +0200, Christophe Fergeau wrote:
> This has been true for quite some time, it's high time we stop
> building spicec and have remote-viewer replace it on upgrades.
> ---
>  virt-viewer.spec.in | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
> index cb0c9af..a2b07ed 100644
> --- a/virt-viewer.spec.in
> +++ b/virt-viewer.spec.in
> @@ -78,6 +78,12 @@ BuildRequires: intltool
>  BuildRequires: libgovirt-devel >= 0.0.3
>  %endif
>  
> +%if 0{?fedora} >= 20
> +Obsoletes: spice-client < 0.12.3-2
> +Provides: spice-client = 0.12.3-2

Provides implies that the new RPM is a 100% compatible replacement.
ie would imply that virt-viewer contained a binary called 'spicec'
with compatible command line args.

So we should only use Obsoletes, and not Provides.


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 :|


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