Incorporate automated build number if RPM release

This commit is contained in:
Daniel P. Berrange 2007-03-08 21:31:20 +00:00
parent 102c75057a
commit c992b3f77d
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Thu Mar 8 16:30:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* libvirt.spec.in: Add some macro magic to allow Release field
to incorporate an automated build number for testing - a no-op
for normal RPM builds.
Thu Mar 8 10:14:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_internal.c: Fix inverted check on file handle to

View File

@ -1,9 +1,15 @@
# -*- rpm-spec -*-
# This macro is used for the continuous automated builds. It just
# allows an extra fragment based on the timestamp to be appended
# to the release. This distinguishes automated builds, from formal
# Fedora RPM builds
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}}
Summary: Library providing an API to use the Xen virtualization
Name: libvirt
Version: @VERSION@
Release: 4%{?dist}
Release: 4%{?_extra_release}
License: LGPL
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz