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