Browse code

Updated multiple pkg versions

- python-Pygments
- python-prompt_toolkit
- runc

Change-Id: Ie5543a90de39b522e955b03ffab789977ac5f879
Signed-off-by: Tapas Kundu <tkundu@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/7432
Tested-by: gerrit-photon <photon-checkins@vmware.com>

Tapas Kundu authored on 2019/06/14 02:39:04
Showing 3 changed files
... ...
@@ -3,15 +3,15 @@
3 3
 
4 4
 Summary:        Pygments is a syntax highlighting package written in Python.
5 5
 Name:           python-Pygments
6
-Version:        2.2.0
7
-Release:        3%{?dist}
6
+Version:        2.4.2
7
+Release:        1%{?dist}
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 Url:            https://pypi.python.org/pypi/Pygments
13 13
 Source0:        https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
14
-%define         sha1 Pygments=5c6714bd6fd950c1478889f7b72fc7f6771d5163
14
+%define         sha1 Pygments=5296c3b92ef0cbb8f4abede623be4a89e4f0f3c9
15 15
 
16 16
 BuildRequires:  python2
17 17
 BuildRequires:  python2-libs
... ...
@@ -89,6 +89,8 @@ PYTHON=python2 make test
89 89
 %{_bindir}/*
90 90
 
91 91
 %changelog
92
+*   Thu Jun 13 2019 Tapas Kundu <tkundu@vmware.com> 2.4.2-1
93
+-   Update to release 2.4.2
92 94
 *   Mon Jan 14 2019 Tapas Kundu <tkundu@vmware.com> 2.2.0-3
93 95
 -   Fix makecheck
94 96
 *   Fri Jul 28 2017 Divya Thaluru <dthaluru@vmware.com> 2.2.0-2
... ...
@@ -3,15 +3,15 @@
3 3
 
4 4
 Summary:        Library for building powerful interactive command lines in Python.
5 5
 Name:           python-prompt_toolkit
6
-Version:        2.0.4
7
-Release:        2%{?dist}
6
+Version:        2.0.9
7
+Release:        1%{?dist}
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 Url:            https://pypi.python.org/pypi/prompt_toolkit
13 13
 Source0:        https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz
14
-%define sha1    prompt_toolkit=5ac2c31dd9f443da4aa143dde56a8b5c44a254c5
14
+%define sha1    prompt_toolkit=485cfaff9afebb172c6ea6c5f7d8ce19cd9c94ae
15 15
 
16 16
 BuildRequires:  python2
17 17
 BuildRequires:  python2-libs
... ...
@@ -93,6 +93,8 @@ PYTHONPATH=. python2 setup.py test
93 93
 %{python3_sitelib}/*
94 94
 
95 95
 %changelog
96
+*   Thu Jun 13 2019 Tapas Kundu <tkundu@vmware.com> 2.0.9-1
97
+-   Update to release 2.0.9
96 98
 *   Fri Dec 07 2018 Tapas Kundu <tkundu@vmware.com> 2.0.4-2
97 99
 -   Fix makecheck
98 100
 *   Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 2.0.4-1
... ...
@@ -1,11 +1,21 @@
1 1
 Summary:        CLI tool for spawning and running containers per OCI spec.
2 2
 Name:           runc
3
-Version:        0.1.1
4
-Release:        2%{?dist}
3
+Version:        1.0.0.rc8
4
+Release:        1%{?dist}
5 5
 License:        ASL 2.0
6 6
 URL:            https://runc.io/
7
-Source0:        https://github.com/opencontainers/runc/archive/%{name}-v%{version}.tar.gz
8
-%define sha1    runc=ca70c97c9211462f774e22f03fec2fe61f45f1ba
7
+Source0:        https://github.com/opencontainers/runc/archive/%{name}-v1.0.0-rc8.tar.gz
8
+%define sha1    runc=cdca7ef7683c7db20ef0877338d9d67f156377e2
9
+Source1:	https://github.com/sirupsen/logrus/archive/logrus-1.0.3.tar.gz
10
+%define sha1 logrus=9edcef15ac3860d431b162102533911788885b5f
11
+Source2:	https://github.com/opencontainers/runtime-spec/archive/runtime-spec-1.0.0.tar.gz
12
+%define sha1 runtime-spec=7cd96a1bebe4cdb55d2b5f5df1e52374b016a0bd
13
+Source3:	https://github.com/urfave/cli/archive/urfave-cli-1.19.1.tar.gz
14
+%define sha1 urfave-cli=9044d4e160ebb954c17856785cf8fde02858d9ac
15
+Source4:	https://github.com/golang/sys/archive/golang-sys-07c182904dbd53199946ba614a412c61d3c548f5.zip
16
+%define sha1 golang-sys=940b297797b1defc11d67820a92becefeaa88f59
17
+Source5:	https://github.com/golang/crypto/archive/golang-crypto-eb71ad9bd329b5ac0fd0148dd99bd62e8be8e035.zip
18
+%define sha1 golang-crypto=775ab62e664ee2c89f624d5be6c55775360653ee
9 19
 Group:          Virtualization/Libraries
10 20
 Vendor:         VMware, Inc.
11 21
 Distribution:   Photon
... ...
@@ -21,6 +31,7 @@ BuildRequires:  libseccomp-devel
21 21
 BuildRequires:  protobuf-devel
22 22
 BuildRequires:  protobuf-c-devel
23 23
 BuildRequires:  python2-devel
24
+BuildRequires:  unzip
24 25
 Requires:       glibc
25 26
 Requires:       libgcc
26 27
 Requires:       libseccomp
... ...
@@ -29,19 +40,44 @@ Requires:       libseccomp
29 29
 runC is a CLI tool for spawning and running containers according to the OCI specification. Containers are started as a child process of runC and can be embedded into various other systems without having to run a daemon.
30 30
 
31 31
 %prep
32
-%setup -q -n %{name}-%{version}
32
+%setup -q -n %{name}-1.0.0-rc8
33 33
 
34 34
 %build
35
+pushd ..
36
+tar -xvf %{SOURCE1}
37
+tar -xvf %{SOURCE2}
38
+tar -xvf %{SOURCE3}
39
+unzip %{SOURCE4}
40
+unzip %{SOURCE5}
41
+mkdir -p $GOPATH/src/github.com/opencontainers/runtime-spec/
42
+mkdir -p $GOPATH/src/github.com/sirupsen/logrus
43
+mkdir -p $GOPATH/src/github.com/urfave/cli
44
+mkdir -p $GOPATH/src/golang.org/x/sys/
45
+mkdir -p $GOPATH/src/golang.org/x/crypto/
46
+mkdir -p build/src/github.com/opencontainers/runc
47
+cp -r runtime-spec-1.0.0/* $GOPATH/src/github.com/opencontainers/runtime-spec/
48
+cp -r logrus-1.0.3/* $GOPATH/src/github.com/sirupsen/logrus
49
+cp -r cli-1.19.1/* $GOPATH/src/github.com/urfave/cli
50
+cp -r sys-master/* $GOPATH/src/golang.org/x/sys
51
+cp -r crypto-master/* $GOPATH/src/golang.org/x/crypto
52
+popd
53
+cp -r . ../build/src/github.com/opencontainers/runc
54
+cd ../build
55
+export GOPATH=$GOPATH:`pwd`
56
+cd src/github.com/opencontainers/runc
35 57
 make %{?_smp_mflags}
36 58
 
37 59
 %install
38
-install -D -m0755 runc %{buildroot}%{_sbindir}/runc
60
+cd ../build/src/github.com/opencontainers/runc
61
+make install BINDIR=%{buildroot}%{_sbindir}
39 62
 
40 63
 %files
41 64
 %defattr(-,root,root)
42 65
 %{_sbindir}/runc
43 66
 
44 67
 %changelog
68
+*   Thu Jun 13 2019 Tapas Kundu <tkundu@vmware.com> 1.0.0.rc8-1
69
+-   Update to release 1.0.0-rc8
45 70
 *   Fri Jun 23 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.1-2
46 71
 -   Add iptables-devel to BuildRequires
47 72
 *   Tue Apr 25 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.1.1-1