Skip to content

Commit cd0bc82

Browse files
committed
Adjusted openssl spec file for rhel/centos-6 platform
Removed the patch files already. rhel-6 is not supported in master so didn't remove from main spec file. Ticket: none Changelog: none
1 parent c6f388a commit cd0bc82

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

deps-packaging/openssl/cfbuild-openssl.spec

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Name: cfbuild-openssl
55
Version: %{version}
66
Release: 1
77
Source0: openssl-%{openssl_version}.tar.gz
8-
Patch0: 0006-Add-latomic-on-AIX-7.patch
9-
Patch1: 0008-Define-_XOPEN_SOURCE_EXTENDED-as-1.patch
108
License: MIT
119
Group: Other
1210
Url: https://cfengine.com
@@ -20,17 +18,6 @@ AutoReqProv: no
2018
mkdir -p %{_builddir}
2119
%setup -q -n openssl-%{openssl_version}
2220

23-
%patch0 -p1
24-
%patch1 -p1
25-
26-
if expr "`cat /etc/redhat-release`" : '.* [6]\.'
27-
then
28-
# These two patches are taken from master branch as of 2025-Mar-26 and
29-
# should be removed with upgrade past 3.5.0
30-
patch -p1 < %{_topdir}/SOURCES/0001-Revert-rcu-Ensure-that-updates-to-the-ID-field-of-a-.patch
31-
patch -p1 < %{_topdir}/SOURCES/0002-Don-t-use-__ATOMIC_ACQ_REL-on-older-compilers.patch
32-
fi
33-
3421
%build
3522

3623
if [ -z "$MAKE" ]

0 commit comments

Comments
 (0)