Change-Id: I41468627672ab62ba7d929c8aa7bc25ce6110e3e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2149
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>
| ... | ... |
@@ -3,15 +3,15 @@ |
| 3 | 3 |
|
| 4 | 4 |
Summary: An asynchronous networking framework written in Python |
| 5 | 5 |
Name: python-Twisted |
| 6 |
-Version: 17.1.0 |
|
| 7 |
-Release: 2%{?dist}
|
|
| 6 |
+Version: 16.6.0 |
|
| 7 |
+Release: 1%{?dist}
|
|
| 8 | 8 |
License: MIT |
| 9 | 9 |
Group: Development/Languages/Python |
| 10 | 10 |
Vendor: VMware, Inc. |
| 11 | 11 |
Distribution: Photon |
| 12 | 12 |
Url: https://twistedmatrix.com |
| 13 |
-Source0: https://pypi.python.org/packages/source/T/Twisted/Twisted-%{version}.tar.bz2
|
|
| 14 |
-%define sha1 Twisted=1cd9e3e39323f555a89d882cbbcf001015bd3113 |
|
| 13 |
+Source0: https://files.pythonhosted.org/packages/source/T/Twisted/Twisted-%{version}.tar.bz2
|
|
| 14 |
+%define sha1 Twisted=57ea06c54e59c314f904870946c4a3586d7b86ea |
|
| 15 | 15 |
|
| 16 | 16 |
BuildRequires: python2 |
| 17 | 17 |
BuildRequires: python2-libs |
| ... | ... |
@@ -47,14 +47,20 @@ Python 3 version. |
| 47 | 47 |
|
| 48 | 48 |
%prep |
| 49 | 49 |
%setup -q -n Twisted-%{version}
|
| 50 |
+rm -rf ../p3dir |
|
| 51 |
+cp -a . ../p3dir |
|
| 50 | 52 |
|
| 51 | 53 |
%build |
| 52 | 54 |
python2 setup.py build |
| 55 |
+pushd ../p3dir |
|
| 53 | 56 |
python3 setup.py build |
| 57 |
+popd |
|
| 54 | 58 |
|
| 55 | 59 |
%install |
| 56 | 60 |
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
| 61 |
+pushd ../p3dir |
|
| 57 | 62 |
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
| 63 |
+popd |
|
| 58 | 64 |
|
| 59 | 65 |
%files |
| 60 | 66 |
%defattr(-,root,root) |
| ... | ... |
@@ -66,6 +72,8 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
| 66 | 66 |
%{_bindir}/*
|
| 67 | 67 |
|
| 68 | 68 |
%changelog |
| 69 |
+* Tue Mar 15 2017 Xiaolin Li <xiaolinl@vmware.com> 16.6.0-1 |
|
| 70 |
+- Downgraded to 16.6.0 |
|
| 69 | 71 |
* Tue Mar 14 2017 Anish Swaminathan <anishs@vmware.com> 17.1.0-2 |
| 70 | 72 |
- Change requires |
| 71 | 73 |
* Wed Mar 01 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-1 |
| ... | ... |
@@ -3,15 +3,15 @@ |
| 3 | 3 |
|
| 4 | 4 |
Summary: The Swiss Army knife of Python web development |
| 5 | 5 |
Name: python-werkzeug |
| 6 |
-Version: 0.11.15 |
|
| 6 |
+Version: 0.10.4 |
|
| 7 | 7 |
Release: 1%{?dist}
|
| 8 | 8 |
License: BSD |
| 9 | 9 |
Group: Development/Languages/Python |
| 10 | 10 |
Vendor: VMware, Inc. |
| 11 | 11 |
Distribution: Photon |
| 12 |
-Url: https://pypi.python.org/pypi/Werkzeug |
|
| 12 |
+Url: https://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
|
|
| 13 | 13 |
Source0: Werkzeug-%{version}.tar.gz
|
| 14 |
-%define sha1 Werkzeug=7ed22d01e666773b269b766a0aa31f8511cc7e01 |
|
| 14 |
+%define sha1 Werkzeug=bde8ef90a905ed52e0920493072d161a354a8fe1 |
|
| 15 | 15 |
|
| 16 | 16 |
BuildRequires: python2 |
| 17 | 17 |
BuildRequires: python2-libs |
| ... | ... |
@@ -39,15 +39,20 @@ Python 3 version. |
| 39 | 39 |
|
| 40 | 40 |
%prep |
| 41 | 41 |
%setup -q -n Werkzeug-%{version}
|
| 42 |
+rm -rf ../p3dir |
|
| 43 |
+cp -a . ../p3dir |
|
| 42 | 44 |
|
| 43 | 45 |
%build |
| 44 | 46 |
python2 setup.py build |
| 47 |
+pushd ../p3dir |
|
| 45 | 48 |
python3 setup.py build |
| 46 |
- |
|
| 49 |
+popd |
|
| 47 | 50 |
|
| 48 | 51 |
%install |
| 49 | 52 |
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
| 53 |
+pushd ../p3dir |
|
| 50 | 54 |
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
| 55 |
+popd |
|
| 51 | 56 |
|
| 52 | 57 |
%files |
| 53 | 58 |
%defattr(-,root,root) |
| ... | ... |
@@ -58,5 +63,7 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
| 58 | 58 |
%{python3_sitelib}/*
|
| 59 | 59 |
|
| 60 | 60 |
%changelog |
| 61 |
+* Tue Mar 14 2017 Xiaolin Li <xiaolinl@vmware.com> 0.10.4-1 |
|
| 62 |
+- Downgraded to 0.10.4. |
|
| 61 | 63 |
* Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 0.11.15-1 |
| 62 |
-- Initial packaging for Photon. |
|
| 63 | 64 |
\ No newline at end of file |
| 65 |
+- Initial packaging for Photon. |