Skip to content

Commit

Permalink
3.0.2
Browse files Browse the repository at this point in the history
3.0.2
  • Loading branch information
philyuchkoff authored Mar 17, 2022
1 parent 7b06e04 commit eba81a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions install-openssl_3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ yum -y install \
yum -y remove openssl

# Get openssl tarball
curl -O --silent https://www.openssl.org/source/openssl-3.0.1.tar.gz
curl -O --silent https://www.openssl.org/source/openssl-3.0.2.tar.gz

# SPEC file
cat << 'EOF' > ~/openssl/openssl3.spec
Summary: OpenSSL 3.0.1 for Centos
Summary: OpenSSL 3.0.2 for Centos
Name: openssl
Version: %{?version}%{!?version:3.0.1}
Version: %{?version}%{!?version:3.0.2}
Release: 1%{?dist}
Obsoletes: %{name} <= %{version}
Provides: %{name} = %{version}
Expand All @@ -39,15 +39,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
https://github.com/philyuchkoff/openssl-RPM-Builder
OpenSSL RPM for version 3.0.1 on CentOS
OpenSSL RPM for version 3.0.2 on CentOS
%package devel
Summary: Development files for programs which will use the openssl library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
OpenSSL RPM for version 3.0.1 on CentOS (development package)
OpenSSL RPM for version 3.0.2 on CentOS (development package)
%prep
%setup -q
Expand Down Expand Up @@ -89,8 +89,8 @@ EOF
mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
cp ~/openssl/openssl3.spec /root/rpmbuild/SPECS/openssl.spec

mv openssl-3.0.1.tar.gz /root/rpmbuild/SOURCES
mv openssl-3.0.2.tar.gz /root/rpmbuild/SOURCES
cd /root/rpmbuild/SPECS && \
rpmbuild \
-D "version 3.0.1" \
-D "version 3.0.2" \
-ba openssl.spec

0 comments on commit eba81a7

Please sign in to comment.