-Patch0: %{name}-perl.patch
-Patch1: %{name}-alpha-ccc.patch
-Vendor: The OpenSSL Project
-License: Apache-style License
-BuildRequires: perl
+Patch0: %{name}-alpha-ccc.patch
+# patch1 is only for 0.9.6a version. This version isn't binary
+# compatibile with 0.9.6 but have this same soname.
+Patch1: %{name}-soname.patch
+Patch2: %{name}-optflags.patch
+BuildRequires: perl-devel >= 5.6.1
+BuildRequires: textutils