From 31ee27de9a0cfb8d56bf0de408881b68b09e10db Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 13 Aug 2007 15:15:22 +0000 Subject: [PATCH] support creation of "distroagnostic" src.rpm from within .spec file --- graphviz.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphviz.spec.in b/graphviz.spec.in index 3b9d12920..10818a78e 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -7,7 +7,12 @@ Name: graphviz Summary: Graph Visualization Tools Version: @VERSION@ -Release: 1%{?dist} + +%define truerelease 1 +%{?distroagnostic: %define release %{truerelease}} +%{!?distroagnostic: %define release %{truerelease}%{?dist}} + +Release: %{?release} Group: Applications/Multimedia License: CPL -- 2.40.0