[YafaRay] fix endif statement, update spec

Peter Robinson pbrobinson at fedoraproject.org
Fri Apr 27 10:48:10 UTC 2012


commit 27962a472cb46eb54677d83942b350c2c928d15a
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Fri Apr 27 11:48:06 2012 +0100

    fix endif statement, update spec

 YafaRay.spec |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/YafaRay.spec b/YafaRay.spec
index bb644b2..0bb4d52 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -20,12 +20,12 @@ Source1:        python-%{date}.tar.gz
 Source2:        README.Fedora
 Source3:        yafaray-snapshot.sh
 %else
-Release:        4%{?dist}
+Release:        5%{?dist}
 Source0:        http://static.yafaray.org/sources/%{name}.%{version}.zip
 Source1:        http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
 Source2:        README.Fedora
-%endiff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%endif
+
 BuildRequires:  scons >= 0.97
 BuildRequires:  freetype-devel
 BuildRequires:  libjpeg-devel 
@@ -93,7 +93,6 @@ scons build
 scons swig 
 
 %install
-rm -rf %{buildroot}
 scons PREFIX=%{buildroot}%{_prefix} install
 
 mkdir -p %{buildroot}%{_datadir}/blender/scripts
@@ -119,9 +118,6 @@ cp -p %{yname}-blender/yaf*.py \
 %endif
 popd
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-, root, root)
 %doc CODING LICENSE INSTALL
@@ -142,6 +138,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Apr 27 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 0.1.1-5
+- Fix endif statement
+
 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.1-4
 - Rebuilt for c++ ABI breakage
 


More information about the scm-commits mailing list