resolve RHBZ#2182688

This commit is contained in:
Ralf Senderek 2023-04-05 15:42:15 +02:00
parent d5d52dbc9c
commit 8d52179eb2
2 changed files with 22 additions and 8 deletions

View File

@ -5,7 +5,7 @@
Name: cryptlib
Version: 3.4.6
Release: 14%{?dist}
Release: 15%{?dist}
Summary: Security library and toolkit for encryption and authentication services
License: Sleepycat and OpenSSL
@ -28,7 +28,7 @@ Patch1: flagspatch
Patch2: configpatch
Patch3: errorpatch
Patch4: testpatch
Patch5: x86-64patch
Patch5: m64patch
Patch6: setuppatch
ExclusiveArch: x86_64 aarch64 ppc64le
@ -157,12 +157,12 @@ mkdir %{name}-%{version}
cd %{name}-%{version}
/usr/bin/unzip -a %{SOURCE0}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch 1 -p1
%patch 2 -p1
%patch 3 -p1
%patch 4 -p1
%patch 5 -p1
%patch 6 -p1
# remove pre-build jar file
rm %{_builddir}/%{name}-%{version}/bindings/cryptlib.jar
@ -351,6 +351,9 @@ cp /%{buildroot}%{cryptlibdir}/tools/man/claes.1 %{buildroot}%{_mandir}/man1
%changelog
* Wed Apr 04 2023 Ralf Senderek <innovation@senderek.ie> - 3.4.6-15
- Resolve Bug RHBZ#2182688
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.6-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

11
m64patch Normal file
View File

@ -0,0 +1,11 @@
--- cl-original/tools/ccopts.sh 2022-03-04 19:32:14.000000000 +0100
+++ cl-patched/tools/ccopts.sh 2023-04-05 11:19:59.034814258 +0200
@@ -897,7 +897,7 @@
if [ $GENERICBUILD -gt 0 ] ; then
echo " (Enabling lowest-common-denominator build options for cross-platform library)." >&2 ;
else
- CCARGS="$CCARGS -march=native -mtune=generic" ;
+ CCARGS="$CCARGS -m64 -mtune=generic" ;
fi
if [ "$ARCH" = "x86_64" ] ; then
CCARGS="$CCARGS -fPIC" ;