Added an if statement for building the package from the tar.gz file (without using svn for the revision number).
Modified all /lib access by the variable %{lib}.
Deleted some repeated lines.
Deleted comented line.