move packages from python_sitelib to _sitearch [release 1.9.73-2mamba;Sat Mar 02 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 11:01:08 +01:00
parent 742f8783c3
commit edcc883a94

View File

@ -1,6 +1,6 @@
Name: python-cups
Version: 1.9.73
Release: 1mamba
Release: 2mamba
Summary: A set of Python bindings for the CUPS API
Group: System/Libraries/Python
Vendor: openmamba
@ -56,7 +56,7 @@ It was written for use with system-config-printer, but can be put to other uses
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitelib}
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -64,17 +64,20 @@ It was written for use with system-config-printer, but can be put to other uses
%if "%?with_pyver"
%files py%{pyver}
%defattr(-,root,root)
%{python_sitelib}/cups.*.so
%{python_sitearch}/cups.*.so
%else
%files
%defattr(-,root,root)
%{python_sitelib}/cups.so
%{python_sitearch}/cups.so
%endif
%{python_sitelib}/pycups-*-py%{python_version}.egg-info
%{python_sitearch}/pycups-*-py%{python_version}.egg-info
%doc COPYING
#NEWS README TODO
%changelog
* Sat Mar 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.73-2mamba
- move packages from python_sitelib to _sitearch
* Fri Dec 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.73-1mamba
- update to 1.9.73