Pin pip to 20.3.3 and disable tmpfs in DIB
[ta/build-tools.git] / tools / rpm_test_data.py
1 # Copyright 2019 Nokia
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # pylint: disable=invalid-name,line-too-long
16
17
18 bash_expected = {
19     'Name': 'bash',
20     'Version': '4.2.46',
21     'Release': '21.el7_3',
22     'Architecture': 'x86_64',
23     'Install Date': 'Thu 11 Jan 2018 12:32:51 PM EET',
24     'Group': 'System Environment/Shells',
25     'Size': '3663714',
26     'License': 'GPLv3+',
27     'Signature': 'RSA/SHA256, Wed 07 Dec 2016 02:11:28 AM EET, Key ID 24c6a8a7f4a80eb5',
28     'Source RPM': 'bash-4.2.46-21.el7_3.src.rpm',
29     'Build Date': 'Wed 07 Dec 2016 01:21:54 AM EET',
30     'Build Host': 'c1bm.rdu2.centos.org',
31     'Relocations': '(not relocatable)',
32     'Packager': 'CentOS BuildSystem <http://bugs.centos.org>',
33     'Vendor': 'CentOS',
34     'URL': 'http://www.gnu.org/software/bash',
35     'Summary': 'The GNU Bourne Again shell',
36     'Description': '\n'.join(
37         ['The GNU Bourne Again shell (Bash) is a shell or command language',
38          'interpreter that is compatible with the Bourne shell (sh). Bash',
39          'incorporates useful features from the Korn shell (ksh) and the C shell',
40          '(csh). Most sh scripts can be run by bash without modification.'])
41 }
42
43 conntrack_tools_expected = {
44     'Name': 'conntrack-tools',
45     'Version': '1.4.4',
46     'Release': '3.el7_3',
47     'Architecture': 'x86_64',
48     'Install Date': 'Thu 11 Jan 2018 12:39:20 PM EET',
49     'Group': 'System Environment/Base',
50     'Size': '562826',
51     'License': 'GPLv2',
52     'Signature': 'RSA/SHA256, Thu 29 Jun 2017 03:36:05 PM EEST, Key ID 24c6a8a7f4a80eb5',
53     'Source RPM': 'conntrack-tools-1.4.4-3.el7_3.src.rpm',
54     'Build Date': 'Thu 29 Jun 2017 03:18:42 AM EEST',
55     'Build Host': 'c1bm.rdu2.centos.org',
56     'Relocations': '(not relocatable)',
57     'Packager': 'CentOS BuildSystem <http://bugs.centos.org>',
58     'Vendor': 'CentOS',
59     'URL': 'http://netfilter.org',
60     'Summary': 'Manipulate netfilter connection tracking table and run High Availability',
61     'Description': '\n'.join([
62         'With conntrack-tools you can setup a High Availability cluster and',
63         'synchronize conntrack state between multiple firewalls.',
64         '',
65         'The conntrack-tools package contains two programs:',
66         '- conntrack: the command line interface to interact with the connection',
67         '             tracking system.',
68         '- conntrackd: the connection tracking userspace daemon that can be used to',
69         '              deploy highly available GNU/Linux firewalls and collect',
70         '              statistics of the firewall use.',
71         '',
72         'conntrack is used to search, list, inspect and maintain the netfilter',
73         'connection tracking subsystem of the Linux kernel.',
74         'Using conntrack, you can dump a list of all (or a filtered selection  of)',
75         'currently tracked connections, delete connections from the state table,',
76         'and even add new ones.',
77         'In addition, you can also monitor connection tracking events, e.g.',
78         'show an event message (one line) per newly established connection.'
79     ])
80 }
81
82 cpp_expected = {
83     'Name': 'cpp',
84     'Version': '4.8.5',
85     'Release': '11.el7',
86     'Architecture': 'x86_64',
87     'Install Date': 'Thu 11 Jan 2018 12:37:55 PM EET',
88     'Group': 'Development/Languages',
89     'Size': '15632501',
90     'License': 'GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD',
91     'Signature': 'RSA/SHA256, Sun 20 Nov 2016 07:27:00 PM EET, Key ID 24c6a8a7f4a80eb5',
92     'Source RPM': 'gcc-4.8.5-11.el7.src.rpm',
93     'Build Date': 'Fri 04 Nov 2016 06:01:22 PM EET',
94     'Build Host': 'worker1.bsys.centos.org',
95     'Relocations': '(not relocatable)',
96     'Packager': 'CentOS BuildSystem <http://bugs.centos.org>',
97     'Vendor': 'CentOS',
98     'URL': 'http://gcc.gnu.org',
99     'Summary': 'The C Preprocessor',
100     'Description':
101         '\n'.join(['Cpp is the GNU C-Compatible Compiler Preprocessor.',
102                    'Cpp is a macro processor which is used automatically',
103                    'by the C compiler to transform your program before actual',
104                    'compilation. It is called a macro processor because it allows',
105                    'you to define macros, abbreviations for longer',
106                    'constructs.',
107                    '',
108                    'The C preprocessor provides four separate functionalities: the',
109                    'inclusion of header files (files of declarations that can be',
110                    'substituted into your program); macro expansion (you can define macros,',
111                    'and the C preprocessor will replace the macros with their definitions',
112                    'throughout the program); conditional compilation (using special',
113                    'preprocessing directives, you can include or exclude parts of the',
114                    'program according to various conditions); and line control (if you use',
115                    'a program to combine or rearrange source files into an intermediate',
116                    'file which is then compiled, you can use line control to inform the',
117                    'compiler about where each source line originated).',
118                    '',
119                    'You should install this package if you are a C programmer and you use',
120                    'macros.']),
121 }
122
123 usbredir_expected = {
124     'Name': 'usbredir',
125     'Version': '0.7.1',
126     'Release': '1.el7',
127     'Architecture': 'x86_64',
128     'Install Date': 'Wed Feb  7 13:49:24 2018',
129     'Group': 'System Environment/Libraries',
130     'Size': '108319',
131     'License': 'LGPLv2+',
132     'Signature': 'RSA/SHA256, Sun Nov 20 20:56:49 2016, Key ID 24c6a8a7f4a80eb5',
133     'Source RPM': 'usbredir-0.7.1-1.el7.src.rpm',
134     'Build Date': 'Sat Nov  5 18:33:15 2016',
135     'Build Host': 'worker1.bsys.centos.org',
136     'Relocations': '(not relocatable)',
137     'Packager': 'CentOS BuildSystem <http://bugs.centos.org>',
138     'Vendor': 'CentOS',
139     'URL': 'http://spice-space.org/page/UsbRedir',
140     'Summary': 'USB network redirection protocol libraries',
141     'Description': '\n'.join([
142         'The usbredir libraries allow USB devices to be used on remote and/or virtual',
143         'hosts over TCP.  The following libraries are provided:',
144         '',
145         'usbredirparser:',
146         'A library containing the parser for the usbredir protocol',
147         '',
148         'usbredirhost:',
149         'A library implementing the USB host side of a usbredir connection.',
150         'All that an application wishing to implement a USB host needs to do is:',
151         '* Provide a libusb device handle for the device',
152         '* Provide write and read callbacks for the actual transport of usbredir data',
153         '* Monitor for usbredir and libusb read/write events and call their handlers'])
154 }
155
156 perl_compress_expected = {
157     'Name': 'perl-Compress-Raw-Zlib',
158     'Epoch': '1',
159     'Version': '2.061',
160     'Release': '4.el7',
161     'Architecture': 'x86_64',
162     'Install Date': 'Sat Jan 26 20:05:50 2019',
163     'Group': 'Development/Libraries',
164     'Size': '139803',
165     'License': 'GPL+ or Artistic',
166     'Signature': 'RSA/SHA256, Fri Jul  4 04:15:33 2014, Key ID 24c6a8a7f4a80eb5',
167     'Source RPM': 'perl-Compress-Raw-Zlib-2.061-4.el7.src.rpm',
168     'Build Date': 'Tue Jun 10 01:12:08 2014',
169     'Build Host': 'worker1.bsys.centos.org',
170     'Relocations': '(not relocatable)',
171     'Packager': 'CentOS BuildSystem <http://bugs.centos.org>',
172     'Vendor': 'CentOS',
173     'URL': 'http://search.cpan.org/dist/Compress-Raw-Zlib/',
174     'Summary': 'Low-level interface to the zlib compression library',
175     'Description': '\n'.join([
176         'The Compress::Raw::Zlib module provides a Perl interface to the zlib',
177         'compression library, which is used by IO::Compress::Zlib.']),
178     'Obsoletes': ''
179 }