[virt-tools-list] [RFC virt-viewer 10/12] spec: Take Epoch into account in package buildid
Daniel P. Berrange
berrange at redhat.com
Wed Jun 3 14:59:43 UTC 2015
On Tue, Jun 02, 2015 at 04:29:27PM +0200, Christophe Fergeau wrote:
> ---
> virt-viewer.spec.in | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
> index dfc819c..b75ac45 100644
> --- a/virt-viewer.spec.in
> +++ b/virt-viewer.spec.in
> @@ -104,7 +104,13 @@ autoreconf -if
> %define govirt_arg --with-ovirt
> %endif
>
> -%configure %{spice_arg} %{gtk_arg} %{govirt_arg} --with-buildid=%{release} --disable-update-mimedb
> +%if 0%{epoch}
> +%define buildid %{epoch}:%{release}
> +%else
> +%define buildid %{release}
> +%endif
> +
> +%configure %{spice_arg} %{gtk_arg} %{govirt_arg} --with-buildid=%{buildid} --disable-update-mimedb
> %__make %{?_smp_mflags}
What do we need this for ? We are not using epochs at all afaik and
ideally will never need to either.
Regards,
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 :|
More information about the virt-tools-list
mailing list