From a136f910622cb7da76b0381c3d32372e94cb18e6 Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Thu, 7 Jun 2012 17:02:30 +0200 Subject: [PATCH] Spec file fixes: Make %%prerel optional. --- waf.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/waf.spec b/waf.spec index 2abe98c..0035c3f 100644 --- a/waf.spec +++ b/waf.spec @@ -14,7 +14,7 @@ Name: waf Version: 1.7.0 -Release: 0.1.%{prerel}%{?dist} +Release: %{?prerel:0.}2%{?prerel:.%prerel}%{?dist} Summary: A Python-based build system Group: Development/Tools # The entire source code is BSD apart from pproc.py (taken from Python 2.5) @@ -26,7 +26,7 @@ URL: http://code.google.com/p/waf/ # - /docs/book, as this is under CC-BY-NC-ND, which is not allowed in # Fedora # - Waf logos -Source: waf-%{version}%{prerel}.stripped.tar.bz2 +Source: waf-%{version}%{?prerel}.stripped.tar.bz2 # use _datadir instead of /usr/lib Patch0: waf-1.6.2-libdir.patch Patch1: waf-1.6.9-logo.patch @@ -209,6 +209,9 @@ rm -rf %{buildroot} %changelog +* Thu Jun 7 2012 Thomas Moschny - 1.7.0-0.2.pre3 +- Spec file fixes. + * Thu Jun 7 2012 Michel Salim - 1.7.0-0.1.pre3 - Update to 1.7.0pre3 - Spec clean-up