Fix python package library load name (bz 2255464)

This commit is contained in:
Jerry James 2023-12-21 09:48:53 -07:00
parent 69a9e69b24
commit f87466ebb0
1 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,7 @@
Name: z3
Version: 4.12.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Satisfiability Modulo Theories (SMT) solver
License: MIT
@ -170,7 +170,7 @@ sed \
# Comply with the Java packaging guidelines and fill in the version for python
majver=$(cut -d. -f-2 <<< %{version})
sed -e '/libz3java/s,\(System\.load\)Library("\(.*\)"),\1("%{_libdir}/z3/\2.so"),' \
-e "s/@MAJVER@/$majver/" \
-e "s/'so'/'so.$majver'/" \
-i scripts/update_api.py
# Turn off HTML timestamps for reproducible builds
@ -309,6 +309,9 @@ cd -
%{python3_sitelib}/z3/
%changelog
* Thu Dec 21 2023 Jerry James <loganjerry@gmail.com> - 4.12.4-2
- Fix python package library load name (bz 2255464)
* Sat Dec 9 2023 Jerry James <loganjerry@gmail.com> - 4.12.4-1
- Version 4.12.4
- Drop upstreamed patches: python, stdint, escapes