diff --git a/opae.spec b/opae.spec index 16b14e8..42ebb37 100644 --- a/opae.spec +++ b/opae.spec @@ -2,7 +2,7 @@ %global opae_release 2 # For handling bump release by rpmdev-bumpspec and mass rebuild. -%global baserelease 5 +%global baserelease 6 # There is a (possibly pre-built) bundled OpenSSL 1.1 in this pacakge # Make sure we don't provide libcrypto.so.1.1 etc. @@ -20,7 +20,7 @@ Group: Development/Libraries Vendor: Intel Corporation Requires: uuid, json-c, python3 URL: https://github.com/OPAE/%{name}-sdk -Source0: https://github.com/OPAE/opae-sdk/releases/download/%{version}-%{release}/%{name}-%{version}-%{opae_release}.tar.gz +Source0: https://github.com/OPAE/opae-sdk/releases/download/%{version}-%{opae_release}/%{name}-%{version}-%{opae_release}.tar.gz Patch0000: opae-2.0.0-pthread_yield_deprecated.patch @@ -37,7 +37,6 @@ BuildRequires: systemd BuildRequires: pybind11-devel BuildRequires: python3-setuptools BuildRequires: tbb-devel -BuildRequires: git BuildRequires: python3-pip BuildRequires: python3-virtualenv BuildRequires: systemd-rpm-macros @@ -74,7 +73,11 @@ OPAE headers, tools, sample source, and documentation %prep %setup -q -n %{name}-%{version}-%{opae_release} %patch0 -p1 -b.pythread_yield - +# libcrypto.so is in the tarball +# Strip out all *.so's, binaries should not be in a source tarball +for f in `find . -name '*.so'`; do + rm -f $f +done %build %cmake -DCMAKE_INSTALL_PREFIX=/usr -DOPAE_PRESERVE_REPOS=ON -DOPAE_BUILD_LEGACY=ON -DOPAE_BUILD_SAMPLES=ON @@ -273,6 +276,11 @@ done %changelog +* Fri Dec 03 2021 Tom Rix - 2.0.0-2.6 +- Fix Source0 url +- Remove git from BuildRequires +- Remove libcrypto.so in prep stage + * Fri Dec 03 2021 Miro HronĨok - 2.0.0-2.5 - Do not provide libcrypto.so.1.1()(64bit) - Fixes rhbz#2028852