[NLopt/el5] replaced `?!` with `!?` in conditionals

Björn Esser besser82 at fedoraproject.org
Fri Dec 20 15:55:29 UTC 2013


commit 2b854f76779796d0712f43b2f5fb3953876c0837
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Fri Dec 20 16:55:06 2013 +0100

    replaced `?!` with `!?` in conditionals

 NLopt.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index b44379b..cec1b55 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -103,7 +103,7 @@ This package contains development files for %{name}.
 Summary:		Documentation files for %{name}
 %{?el5:Group:		Documentation}
 
-%{?!el5:BuildArch:	noarch}
+%{!?el5:BuildArch:	noarch}
 Provides:		%{lc_name}-doc			=  %{version}-%{release}
 
 %description doc
@@ -216,7 +216,7 @@ do
 done
 
 # Get rid of obsoleted autotools-macros for el6+.
-%{?!el5:sed -i -e 's!^AC_PROG_LIBTOOL!LT_INIT!g' configure.ac}
+%{!?el5:sed -i -e 's!^AC_PROG_LIBTOOL!LT_INIT!g' configure.ac}
 
 # On el5 we need to exclude anything SWIG-related.
 #%%{?el5:sed -i -e 's!swig!!g' Makefile.am}


More information about the scm-commits mailing list