Make the non-upstream tarball comment more clear.

This commit is contained in:
Tomas Mraz 2011-11-25 16:32:43 +01:00
parent 497f2d674c
commit c28bd1cc5f

View File

@ -22,8 +22,9 @@ Summary: A general purpose cryptography library with TLS implementation
Name: openssl Name: openssl
Version: 1.0.0e Version: 1.0.0e
Release: 4%{?dist} Release: 4%{?dist}
# We remove certain patented algorithms from the openssl source tarball # We have to remove certain patented algorithms from the openssl source
# with the hobble-openssl script which is included below. # tarball with the hobble-openssl script which is included below.
# The original openssl upstream tarball cannot be shipped in the .src.rpm.
Source: openssl-%{version}-usa.tar.bz2 Source: openssl-%{version}-usa.tar.bz2
Source1: hobble-openssl Source1: hobble-openssl
Source2: Makefile.certificate Source2: Makefile.certificate
@ -131,6 +132,8 @@ from other formats to the formats used by the OpenSSL toolkit.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
# The hobble_openssl is called here redundantly, just to be sure.
# The tarball has already the sources removed.
%{SOURCE1} > /dev/null %{SOURCE1} > /dev/null
%patch0 -p1 -b .redhat %patch0 -p1 -b .redhat
%patch1 -p1 -b .defaults %patch1 -p1 -b .defaults