[tachyon] Fix invocation of rename(1) in %install

Adam Jackson ajax at fedoraproject.org
Thu Jan 12 20:49:01 UTC 2012


commit 94a772fe10b82a5c0cc2adbfda1161c6921cf356
Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Jan 12 15:48:58 2012 -0500

    Fix invocation of rename(1) in %install

 tachyon.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tachyon.spec b/tachyon.spec
index 0753b83..e9421b6 100644
--- a/tachyon.spec
+++ b/tachyon.spec
@@ -10,7 +10,7 @@
 Summary: Parallel / Multiprocessor Ray Tracing System
 Name: tachyon
 Version: 0.99
-Release: 0.3.%{beta}%{?dist}
+Release: 0.4.%{beta}%{?dist}
 URL: http://jedi.ks.uiuc.edu/~johns/raytracer/
 Group: Applications/Engineering
 Source0: http://jedi.ks.uiuc.edu/~johns/raytracer/files/%{version}%{beta}/%{name}-%{version}%{beta}.tar.gz
@@ -102,7 +102,7 @@ mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_libdir},{%{_datadir},%{_includedir}}/tach
 for variant in %{variants} ; do
   install -pm755 compile/%{target}-$variant/tachyon $RPM_BUILD_ROOT%{_bindir}/tachyon-$variant
 done
-rename -thr "" $RPM_BUILD_ROOT%{_bindir}/*
+rename -- -thr "" $RPM_BUILD_ROOT%{_bindir}/*
 mkdir docs/html
 %{__cp} -pr docs/tachyon/*.{css,html,png} docs/html
 %{__cp} -pr scenes $RPM_BUILD_ROOT%{_datadir}/tachyon/
@@ -140,6 +140,9 @@ install -pm644 src/{hash,tachyon{,_dep},util}.h $RPM_BUILD_ROOT%{_includedir}/ta
 %{_datadir}/tachyon
 
 %changelog
+* Thu Jan 12 2012 Adam Jackson <ajax at redhat.com> 0.99-0.4.b2
+- Fix invocation of rename(1) in %%install
+
 * Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 0.99-0.3.b2
 - Rebuild for new libpng
 


More information about the scm-commits mailing list