Fix handling of extra_release for Fedora

This commit is contained in:
Daniel P. Berrange 2007-06-15 01:31:51 +00:00
parent 512bf1a6b2
commit 1bb74341b4
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Thu Jun 14 21:30:28 EST 2007 Daniel Berrange <berrange@redhat.com>
* libvirt.spec.in: Change way extra_release is inserted to
work with Fedora 7 where %dist is always defined
Thu Jun 14 21:15:28 EST 2007 Daniel Berrange <berrange@redhat.com>
* src/Makefile.am: Fix generation of coverage files by

View File

@ -1,15 +1,9 @@
# -*- 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 a simple API virtualization
Name: libvirt
Version: @VERSION@
Release: 1%{?_extra_release}
Release: 1%{?dist}%{?extra_release}
License: LGPL
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz