Browse code

Fixed dependencies for easy_install-3.5 (PR 1925828)

Change-Id: Iac57418a5a0a22c8a2b147c1f90803e7bc1cc008
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3353
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>

dthaluru authored on 2017/07/29 02:31:41
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        A high-level scripting language
2 2
 Name:           python3
3 3
 Version:        3.5.3
4
-Release:        4%{?dist}
4
+Release:        5%{?dist}
5 5
 License:        PSF
6 6
 URL:            http://www.python.org/
7 7
 Group:          System Environment/Programming
... ...
@@ -27,6 +27,8 @@ Provides:       python(abi)
27 27
 Provides:       /usr/bin/python
28 28
 Provides:       /bin/python
29 29
 Provides:       /bin/python3
30
+#Conflicts with pyconfig.h file from earlier devel package
31
+Conflicts: python3-devel < %{version}-%{release}
30 32
 
31 33
 %description
32 34
 The Python 3 package contains a new version of Python development environment.
... ...
@@ -151,6 +153,7 @@ rm -rf %{buildroot}/*
151 151
 %{_libdir}/pkgconfig/python-3.5.pc
152 152
 %{_libdir}/pkgconfig/python-3.5m.pc
153 153
 %{_libdir}/pkgconfig/python3.pc
154
+%{_includedir}/python3.5m/pyconfig.h
154 155
 
155 156
 %exclude %{_libdir}/python3.5/ctypes/test
156 157
 %exclude %{_libdir}/python3.5/distutils/tests
... ...
@@ -173,6 +176,7 @@ rm -rf %{buildroot}/*
173 173
 %files devel
174 174
 %defattr(-,root,root)
175 175
 %{_includedir}/*
176
+%exclude %{_includedir}/python3.5m/pyconfig.h
176 177
 
177 178
 %doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
178 179
 %{_libdir}/libpython3.so
... ...
@@ -187,6 +191,8 @@ rm -rf %{buildroot}/*
187 187
 %{_bindir}/idle*
188 188
 
189 189
 %changelog
190
+*   Fri Jul 28 2017 Divya Thaluru <dthaluru@vmware.com> 3.5.3-5
191
+-   Fixed dependencies for easy_install-3.5
190 192
 *   Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com> 3.5.3-4
191 193
 -   Bump release to built with latest toolchain
192 194
 *   Mon Apr 3 2017 Alexey Makhalov <amakhalov@vmware.com> 3.5.3-3