handle directory name changes
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 6 Jan 2011 16:32:09 +0000 (11:32 -0500)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 6 Jan 2011 16:32:09 +0000 (11:32 -0500)
myplc.spec

index d2720a1..da5c9d4 100644 (file)
@@ -107,6 +107,7 @@ This package provides the Python module to configure MyPLC.
 %build
 
 %install
+[ -d MyPLC] || ln -s myplc MyPLC
 pushd MyPLC
 rm -rf $RPM_BUILD_ROOT
 ./build.sh %{pldistro} $RPM_BUILD_ROOT