python-libxml2-py3: fix: don't install in libxml2 subdir [release 2.9.10-3mamba;Mon Nov 30 2020]
This commit is contained in:
parent
6e6c008a50
commit
437aa88201
14
libxml2.spec
14
libxml2.spec
@ -1,7 +1,7 @@
|
||||
%define majver %(echo %version | cut -d. -f 1-2)
|
||||
Name: libxml2
|
||||
Version: 2.9.10
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: Library providing XML and HTML support
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -97,12 +97,12 @@ Requires: gtk-doc
|
||||
--disable-gtk-doc
|
||||
%endif
|
||||
|
||||
%make PYTHON_SITE_PACKAGES=%{python3_sitearch}/libxml2
|
||||
%make PYTHON_SITE_PACKAGES=%{python3_sitearch}
|
||||
#make tests
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall PYTHON_SITE_PACKAGES=%{python3_sitearch}/libxml2
|
||||
%makeinstall PYTHON_SITE_PACKAGES=%{python3_sitearch}
|
||||
|
||||
|
||||
install AUTHORS COPYING Copyright NEWS README TODO* \
|
||||
@ -167,8 +167,9 @@ _EOF
|
||||
%if "%{stage1}" != "1"
|
||||
%files -n python-libxml2-py3
|
||||
%defattr(-,root,root)
|
||||
%dir %{python3_sitearch}/libxml2
|
||||
%{python3_sitearch}/libxml2/*
|
||||
%dir %{python3_sitearch}
|
||||
%{python3_sitearch}/libxml2*
|
||||
%{python3_sitearch}/drv_libxml2.py
|
||||
%endif
|
||||
|
||||
%files apidocs
|
||||
@ -179,6 +180,9 @@ _EOF
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.10-3mamba
|
||||
- python-libxml2-py3: fix: don't install in libxml2 subdir
|
||||
|
||||
* Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.10-2mamba
|
||||
- rebuilt with only python3 package, added debug package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user