The package rpms/intel-ipsec-mb.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/intel-ipsec-mb.git/commit/?id=937....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 9377815f8d0b28d459aea6cc535541f0fe13f9fb
Author: Marcel D. Cornu <marcel.d.cornu(a)intel.com>
Date: Fri Sep 25 11:11:30 2020 -0400
Initial intel-ipsec-mb-v0.54 package commit
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..07e4123
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/intel-ipsec-mb-0.54.tar.gz
+/0001-Fix-for-executable-stack-in-v0.54-release.patch
diff --git a/intel-ipsec-mb.spec b/intel-ipsec-mb.spec
new file mode 100644
index 0000000..d57a5fa
--- /dev/null
+++ b/intel-ipsec-mb.spec
@@ -0,0 +1,128 @@
+# Copyright (c) 2017-2020, Intel Corporation
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * Neither the name of Intel Corporation nor the names of its contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Versions numbers
+%global major 0
+%global minor 54
+%global patch 0
+%global fullversion %{major}.%{minor}.%{patch}
+
+# GitHub properties
+%global githubname intel-ipsec-mb
+%global githubver %{major}.%{minor}
+%global githubfull %{githubname}-%{githubver}
+
+# disable producing debuginfo for this package
+%global debug_package %{nil}
+
+Summary: IPSEC cryptography library optimized for Intel Architecture
+Name: %{githubname}
+Release: 2%{?dist}
+Version: %{fullversion}
+License: BSD
+Group: Development/Tools
+ExclusiveArch: x86_64
+Source0:
https://github.com/intel/%{githubname}/archive/v%{githubver}.tar.gz#/%{gi...
+Patch: 0001-Fix-for-executable-stack-in-v0.54-release.patch
+URL:
https://github.com/intel/%{githubname}
+BuildRequires: make
+BuildRequires: gcc >= 4.8.3
+BuildRequires: nasm >= 2.14
+
+%description
+IPSEC cryptography library optimized for Intel Architecture
+
+%package -n intel-ipsec-mb-devel
+Summary: IPSEC cryptography library optimized for Intel Architecture
+License: BSD
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Group: Development/Tools
+ExclusiveArch: x86_64
+
+%description -n intel-ipsec-mb-devel
+IPSEC cryptography library optimized for Intel Architecture
+
+For additional information please refer to:
+https://github.com/intel/%{githubname}
+
+%prep
+%autosetup -n %{githubfull} -p1
+
+%if 0%{?rhel} && 0%{?rhel} < 8
+%ldconfig_post
+
+%ldconfig_postun
+%endif
+
+%build
+make SAFE_PARAM=y SAFE_DATA=y EXTRA_CFLAGS='%{optflags}' %{?_smp_mflags}
+
+%install
+
+# Install the library
+install -d %{buildroot}/%{_includedir}
+install -m 0644 %{_builddir}/%{githubfull}/intel-ipsec-mb.h %{buildroot}/%{_includedir}
+install -d %{buildroot}/%{_libdir}
+install -s -m 0755 %{_builddir}/%{githubfull}/libIPSec_MB.so.%{fullversion}
%{buildroot}/%{_libdir}
+install -d %{buildroot}/%{_mandir}/man7
+install -m 0444 libipsec-mb.7 %{buildroot}/%{_mandir}/man7
+install -m 0444 libipsec-mb-dev.7 %{buildroot}/%{_mandir}/man7
+cd %{buildroot}/%{_libdir}
+ln -s libIPSec_MB.so.%{fullversion} libIPSec_MB.so.0
+ln -s libIPSec_MB.so.%{fullversion} libIPSec_MB.so
+
+%files
+
+%license LICENSE
+%doc README ReleaseNotes.txt
+
+%{_libdir}/libIPSec_MB.so.%{fullversion}
+%{_libdir}/libIPSec_MB.so.0
+
+%{_mandir}/man7/libipsec-mb.7.gz
+
+%files -n %{name}-devel
+%{_includedir}/intel-ipsec-mb.h
+%{_mandir}/man7/libipsec-mb-dev.7.gz
+%{_libdir}/libIPSec_MB.so
+
+%changelog
+* Tue Sep 08 2020 Marcel Cornu <marcel.d.cornu(a)intel.com> 0.54.0-2
+- Updated to improve compliance with packaging guidelines
+- Added patch to fix executable stack issue
+
+* Thu May 14 2020 Marcel Cornu <marcel.d.cornu(a)intel.com> 0.54.0-1
+- Update for release package v0.54.0
+
+* Thu Sep 13 2018 Marcel Cornu <marcel.d.cornu(a)intel.com> 0.51-1
+- Update for release package v0.51
+
+* Mon Apr 16 2018 Tomasz Kantecki <tomasz.kantecki(a)intel.com> 0.49-1
+- update for release package v0.49
+- 01org replaced with intel in URL's
+- use of new makefile 'install' target with some workarounds
+
+* Fri Aug 11 2017 Tomasz Kantecki <tomasz.kantecki(a)intel.com> 0.46-1
+- initial version of the package
diff --git a/sources b/sources
new file mode 100644
index 0000000..09ebdbf
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+SHA512 (intel-ipsec-mb-0.54.tar.gz) =
9e19dee571f7dd72795154a954aa31e21cc5ddf595cb202b211a0c066826d2d4eb84a3297cb89d9cf00a311f256b8128ec54f828a1ab969956af53e6e8a508d9
+SHA512 (0001-Fix-for-executable-stack-in-v0.54-release.patch) =
df6cf56319c938d70a752fe296b441163d229fe0a9c78ac7ec35a7e88eb73ebfe5e24af6d58fb821d00ee4f5fb9c780704be80ad6b2b9fa9ab49c1512865d585