Spec file fixes: Make %%prerel optional.

epel8
Thomas Moschny 13 years ago
parent 7286d02382
commit a136f91062

@ -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 <thomas.moschny@gmx.de> - 1.7.0-0.2.pre3
- Spec file fixes.
* Thu Jun 7 2012 Michel Salim <salimma@fedoraproject.org> - 1.7.0-0.1.pre3
- Update to 1.7.0pre3
- Spec clean-up

Loading…
Cancel
Save