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