Browse code

Remove python2 requires from git, and remove mercurial requires from go.

Change-Id: I340de815cc4347f906dfebdf5df6cba010b13d1c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2822
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

xiaolin-vmware authored on 2017/06/01 01:46:27
Showing 2 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Fast distributed version control system
2 2
 Name:           git
3 3
 Version:        2.9.3
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        GPLv2
6 6
 URL:            http://git-scm.com/
7 7
 Group:          System Environment/Programming
... ...
@@ -11,9 +11,6 @@ Source0:        https://www.kernel.org/pub/software/scm/git/%{name}-%{version}.t
11 11
 %define sha1    git=5d0274c028083206844142263aeef110ec1495d5
12 12
 BuildRequires:  curl-devel
13 13
 BuildRequires:  python2
14
-BuildRequires:  python2-libs
15
-BuildRequires:  openssl-devel
16
-Requires:       python2
17 14
 Requires:       openssl
18 15
 Requires:       curl
19 16
 Requires:       expat
... ...
@@ -92,6 +89,8 @@ rm -rf %{buildroot}/*
92 92
 %defattr(-,root,root)
93 93
 
94 94
 %changelog
95
+*   Wed May 31 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.3-3
96
+-   Remove python2 from requires.
95 97
 *   Tue Apr 17 2017 Robert Qi <qij@vmware.com> 2.9.3-2
96 98
 -   Update since perl version got updated.
97 99
 *   Mon Apr 10 2017 Danut Moraru <dmoraru@vmware.com> 2.9.3-1
... ...
@@ -10,7 +10,7 @@
10 10
 Summary:        Go 
11 11
 Name:           go
12 12
 Version:        1.8.1
13
-Release:        1%{?dist}
13
+Release:        2%{?dist}
14 14
 License:        BSD
15 15
 URL:            https://golang.org
16 16
 Group:          System Environment/Security
... ...
@@ -19,8 +19,6 @@ Distribution:   Photon
19 19
 Source0:        https://storage.googleapis.com/golang/%{name}%{version}.src.tar.gz
20 20
 %define sha1    go=0c4b7116bd6b7cdc19bdcf8336c75eae4620907b
21 21
 Patch0:         go_imports_fix.patch
22
-BuildRequires:  mercurial
23
-Requires:       mercurial
24 22
 Requires:       glibc
25 23
 
26 24
 %description
... ...
@@ -112,6 +110,8 @@ rm -rf %{buildroot}/*
112 112
 %{_bindir}/*
113 113
 
114 114
 %changelog
115
+*   Wed May 31 2017 Xiaolin Li <xiaolinl@vmware.com> 1.8.1-2
116
+-   Remove mercurial from buildrequires and requires.
115 117
 *   Tue Apr 11 2017 Danut Moraru <dmoraru@vmware.com> 1.8.1-1
116 118
 -   Update Golang to version 1.8.1, updated patch0
117 119
 *   Wed Dec 28 2016 Xiaolin Li <xiaolinl@vmware.com> 1.7.4-1