diff --git a/botan2.spec b/botan2.spec index 0ed0328..02da69e 100644 --- a/botan2.spec +++ b/botan2.spec @@ -2,7 +2,7 @@ Name: botan2 Version: 2.11.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Crypto and TLS for C++11 License: BSD @@ -80,14 +80,15 @@ export CXXFLAGS="${CXXFLAGS:-%{optflags}}" --with-python-version=%{python3_version} \ --with-sphinx \ --with-rst2man \ - --distribution-info=$(cat /etc/os-release | grep ^NAME= | sed 's/NAME=//g') \ + --distribution-info="$(source /etc/os-release ; echo "$NAME")" \ --disable-static-library \ --with-debug-info -%make_build +# work around https://github.com/randombit/botan/issues/2130 +%make_build PYTHON_EXE=%{__python3} %install -make install DESTDIR=%{buildroot} +make install PYTHON_EXE=%{__python3} DESTDIR=%{buildroot} sed -e '1{/^#!/d}' -i %{buildroot}%{python3_sitearch}/botan2.py @@ -132,6 +133,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./botan-test %changelog +* Sat Oct 5 2019 Thomas Moschny - 2.11.0-5 +- Allow building on CentOS8 fixing a quoting and a Python path issue. + * Thu Oct 03 2019 Miro HronĨok - 2.11.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018)