fix installation path of QtChart.so [release 5.14.0-2mamba;Sat Apr 25 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 17:53:29 +01:00
parent 9a2e246116
commit 3efafb546c

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: PyQtChart Name: PyQtChart
Version: 5.14.0 Version: 5.14.0
Release: 1mamba Release: 2mamba
Summary: A set of Python bindings for The Qt Companys Qt Charts library Summary: A set of Python bindings for The Qt Companys Qt Charts library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -43,10 +43,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} %makeinstall INSTALL_ROOT=%{buildroot}
mv %{buildroot}%{python_sitearch}/QtChart.so \
%{buildroot}%{python_sitearch}/PyQt5/QtChart.so
%files %{?pyappend} %files %{?pyappend}
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/PyQt5/QtChart.pyi %{python_sitearch}/PyQt5/QtChart.pyi
%{python_sitearch}/QtChart.so %{python_sitearch}/PyQt5/QtChart.so
%dir %{python_sitearch}/PyQtChart-%{version}.dist-info %dir %{python_sitearch}/PyQtChart-%{version}.dist-info
%{python_sitearch}/PyQtChart-%{version}.dist-info/* %{python_sitearch}/PyQtChart-%{version}.dist-info/*
%{_datadir}/qt5/qsci/api/python/PyQtChart.api %{_datadir}/qt5/qsci/api/python/PyQtChart.api
@ -55,5 +58,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sat Apr 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.0-2mamba
- fix installation path of QtChart.so
* Tue Apr 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.0-1mamba * Tue Apr 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.0-1mamba
- package created using the webbuild interface - package created using the webbuild interface