[tetgen] Make spec el6 compatible

Sandro Mani smani at fedoraproject.org
Sat Jan 3 15:37:38 UTC 2015


commit 0cbb504012853d1fd4e321c4e5af7be594b78a19
Author: Sandro Mani <manisandro at gmail.com>
Date:   Sat Jan 3 16:37:11 2015 +0100

    Make spec el6 compatible

 tetgen.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tetgen.spec b/tetgen.spec
index e55b3ef..1910d97 100644
--- a/tetgen.spec
+++ b/tetgen.spec
@@ -10,7 +10,7 @@ Source1:        http://www.tetgen.org/1.5/doc/manual/manual.pdf
 # - Fix cmake file to build a shared library and support installation
 # - Don't compile the entire code twice, once for the library and once for the
 #   executable, but link the executable against the library instead
-# - Split of main function to separate file
+# - Split off main function to separate file
 Patch0:         tetgen_build.patch
 
 BuildRequires:  cmake
@@ -40,7 +40,8 @@ The %{name}-doc package contains the %{name} manual.
 
 
 %prep
-%autosetup -p1 -n%{name}%{version}
+%setup -q -n%{name}%{version}
+%patch0 -p1
 
 cp -a %{SOURCE1} .
 


More information about the scm-commits mailing list