From 1bb74341b42cbec736a3174ea1506b5f7422f2f6 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 15 Jun 2007 01:31:51 +0000 Subject: [PATCH] Fix handling of extra_release for Fedora --- ChangeLog | 5 +++++ libvirt.spec.in | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3287ffc06c..b05cc905a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 14 21:30:28 EST 2007 Daniel Berrange + + * 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 * src/Makefile.am: Fix generation of coverage files by diff --git a/libvirt.spec.in b/libvirt.spec.in index 4d5c9bee56..726b2d5633 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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