Change-Id: Ibd2d255b1921c6bcb75c51a6f3d5c8ec6b63bf33
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2752
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
| ... | ... |
@@ -4,7 +4,7 @@ |
| 4 | 4 |
Summary: Libxml2 |
| 5 | 5 |
Name: libxml2 |
| 6 | 6 |
Version: 2.9.4 |
| 7 |
-Release: 7%{?dist}
|
|
| 7 |
+Release: 8%{?dist}
|
|
| 8 | 8 |
License: MIT |
| 9 | 9 |
URL: http://xmlsoft.org/ |
| 10 | 10 |
Group: System Environment/General Libraries |
| ... | ... |
@@ -17,28 +17,28 @@ Patch1: libxml2-2.9.4-cve-2016-5131.patch |
| 17 | 17 |
# Fix for CVE-2016-9318 |
| 18 | 18 |
Patch2: cve-2016-9318.patch |
| 19 | 19 |
%define sha1 libxml2=958ae70baf186263a4bd801a81dd5d682aedd1db |
| 20 |
-Requires: python2 |
|
| 21 |
-BuildRequires: python2-devel |
|
| 22 |
-BuildRequires: python2-libs |
|
| 23 | 20 |
Provides: pkgconfig(libxml-2.0) |
| 24 | 21 |
|
| 25 | 22 |
%description |
| 26 | 23 |
The libxml2 package contains libraries and utilities used for parsing XML files. |
| 27 | 24 |
|
| 28 | 25 |
%package python |
| 29 |
-Summary: The libxml2 python module |
|
| 30 |
-Group: Development/Languages/Python |
|
| 31 |
-Requires: %{name} = %{version}
|
|
| 32 |
-Requires: python2 |
|
| 33 |
-Requires: python2-libs |
|
| 26 |
+Summary: The libxml2 python module |
|
| 27 |
+Group: Development/Languages/Python |
|
| 28 |
+BuildRequires: python2-devel |
|
| 29 |
+BuildRequires: python2-libs |
|
| 30 |
+Requires: %{name} = %{version}
|
|
| 31 |
+Requires: python2 |
|
| 32 |
+Requires: python2-libs |
|
| 34 | 33 |
|
| 35 |
-%description python |
|
| 34 |
+%description python |
|
| 36 | 35 |
The libxml2 python module |
| 37 | 36 |
|
| 38 | 37 |
%package -n python3-libxml2 |
| 39 | 38 |
Summary: Python 3 bindings for libxml2. |
| 40 | 39 |
Group: Development/Libraries |
| 41 | 40 |
BuildRequires: python3-devel |
| 41 |
+Requires: %{name} = %{version}
|
|
| 42 | 42 |
Requires: python3 |
| 43 | 43 |
|
| 44 | 44 |
%description -n python3-libxml2 |
| ... | ... |
@@ -121,6 +121,8 @@ rm -rf %{buildroot}/*
|
| 121 | 121 |
|
| 122 | 122 |
|
| 123 | 123 |
%changelog |
| 124 |
+* Thu May 18 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.4-8 |
|
| 125 |
+- Move python2 requires to python subpackage. |
|
| 124 | 126 |
* Wed Apr 26 2017 Siju Maliakkal <smaliakkal@vmware.com> 2.9.4-7 |
| 125 | 127 |
- Modified python3 version in configure |
| 126 | 128 |
* Thu Apr 13 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.4-6 |