[NLopt/el5] improved indention

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


commit afa0e5aceb58b370e441968f58601d6dfa831d86
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Fri Dec 20 15:29:17 2013 +0100

    improved indention

 NLopt.spec |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index 2002be6..6c98379 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -198,10 +198,10 @@ This package contains Python3 bindings for %{name}.
 %setup -q%{!?rel_build:n %{lc_name}-%{commit_src}}%{?rel_build:n %{lc_name}-%{version}}
 
 # Move all %%doc to topdir and append their belonging.
-[[ -f README.md ]] && \
+[[ -f README.md ]] &&								\
 mv -f README.md README
 _topdir="`pwd`"
-for _dir in `find . -type d | \
+for _dir in `find . -type d |							\
 	sed -e "/\.libs/d" -e "s/\.\///g" -e "/\./d" | sort -u`
 do
   pushd ${_dir}
@@ -233,12 +233,12 @@ cp -a . %{py3dir}
 
 
 %build
-%configure				\
-	--enable-shared			\
-	--enable-maintainer-mode	\
-	--with-cxx			\
+%configure									\
+	--enable-shared								\
+	--enable-maintainer-mode						\
+	--with-cxx								\
 %if 0%{?fedora} || 0%{?rhel} >= 7
-	PYTHON=%{__python2}		\
+	PYTHON=%{__python2}							\
 %endif
 	OCT_INSTALL_DIR=%{octpkglibdir}
 
@@ -248,11 +248,11 @@ make
 
 %if 0%{?fedora} || 0%{?rhel} >= 7
 pushd %{py3dir}
-%configure				\
-	--enable-shared			\
-	--enable-maintainer-mode	\
-	--with-cxx			\
-	PYTHON=%{__python3}		\
+%configure									\
+	--enable-shared								\
+	--enable-maintainer-mode						\
+	--with-cxx								\
+	PYTHON=%{__python3}							\
 	OCT_INSTALL_DIR=%{octpkglibdir}
 
 # Parallel-build might fail because of some race-condition
@@ -276,9 +276,9 @@ find %{buildroot} -depth -name '*.*a' -print0 | xargs -0 rm -f
 
 # Python bits need to be arched, but some end-up in %%{python_sitelib}.
 %if 0%{?fedora} || 0%{?rhel} >= 7
-[[ "%{python2_sitearch}" != "%{python2_sitelib}" ]] && \
+[[ "%{python2_sitearch}" != "%{python2_sitelib}" ]] &&				\
 	mv -f %{buildroot}%{python2_sitelib}/* %{buildroot}%{python2_sitearch}
-[[ "%{python3_sitearch}" != "%{python3_sitelib}" ]] && \
+[[ "%{python3_sitearch}" != "%{python3_sitelib}" ]] &&				\
 	mv -f %{buildroot}%{python3_sitelib}/* %{buildroot}%{python3_sitearch}
 %endif
 


More information about the ml mailing list