Add __init__.py to the python interface (bz 1298429).
This commit is contained in:
parent
4152a94731
commit
3eba0f0f08
8
z3.spec
8
z3.spec
|
@ -8,7 +8,7 @@
|
|||
|
||||
Name: z3
|
||||
Version: 4.4.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Satisfiability Modulo Theories (SMT) solver
|
||||
|
||||
License: MIT
|
||||
|
@ -187,6 +187,9 @@ ln -s %{_libdir}/lib%{name}.so.0 \
|
|||
rm -f %{buildroot}%{_libdir}/ocaml/Z3/lib%{name}.so
|
||||
ln -s %{_libdir}/lib%{name}.so.0 %{buildroot}%{_libdir}/ocaml/Z3/lib%{name}.so
|
||||
|
||||
# Add __init__.py for the python module
|
||||
touch %{buildroot}%{python2_sitearch}/%{name}/__init__.py
|
||||
|
||||
# Move the Java interface to its correct location
|
||||
mkdir -p %{buildroot}%{_libdir}/%{name}
|
||||
mkdir -p %{buildroot}%{_jnidir}
|
||||
|
@ -255,6 +258,9 @@ chmod 0755 %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/*.so.0.0.0 \
|
|||
%{python2_sitearch}/%{name}/
|
||||
|
||||
%changelog
|
||||
* Wed Jan 20 2016 Jerry James <loganjerry@gmail.com> - 4.4.1-2
|
||||
- Add __init__.py to the python interface (bz 1298429)
|
||||
|
||||
* Thu Oct 8 2015 Jerry James <loganjerry@gmail.com> - 4.4.1-1
|
||||
- New upstream version
|
||||
|
||||
|
|
Loading…
Reference in New Issue