[NLopt/el5] made %%clean-target conditional on el5
Björn Esser
besser82 at fedoraproject.org
Fri Dec 20 13:15:00 UTC 2013
commit 74fa58436838adcabf858d38bc2184048147f2a3
Author: Björn Esser <bjoern.esser at gmail.com>
Date: Fri Dec 20 14:14:04 2013 +0100
made %%clean-target conditional on el5
NLopt.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index e58360a..1aa541e 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -33,7 +33,7 @@
Name: NLopt
Version: 2.4
-Release: 2%{gitrelease}%{?dist}
+Release: 3%{gitrelease}%{?dist}
Summary: Open-Source library for nonlinear optimization
%{?el5:Group: System Environment/Libraries}
@@ -315,7 +315,7 @@ popd
%endif
-%clean
+%{?el5:%clean}
%{?el5:rm -rf %{buildroot}}
@@ -391,6 +391,9 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild"
%endif
%changelog
+* Fri Dec 20 2013 Björn Esser <bjoern.esser at gmail.com> - 2.4-3.git20130903.35e6377
+- made %%clean-target conditional on el5
+
* Wed Oct 02 2013 Björn Esser <bjoern.esser at gmail.com> - 2.4-2.git20130903.35e6377
- adaptions for new Python-guidelines
More information about the ml
mailing list