Internal restructuring of stx-integ

Create new directories:
   ceph
   config
   config-files
   filesystem
   kernel
   kernel/kernel-modules
   ldap
   logging
   strorage-drivers
   tools
   utilities
   virt

Retire directories:
   connectivity
   core
   devtools
   support
   extended

Delete two packages:
   tgt
   irqbalance

Relocated packages:
   base/
      dhcp
      initscripts
      libevent
      lighttpd
      linuxptp
      memcached
      net-snmp
      novnc
      ntp
      openssh
      pam
      procps
      sanlock
      shadow
      sudo
      systemd
      util-linux
      vim
      watchdog

   ceph/
      python-cephclient

   config/
      facter
      puppet-4.8.2
      puppet-modules

   filesystem/
      e2fsprogs
      nfs-utils
      nfscheck

   kernel/
      kernel-std
      kernel-rt

   kernel/kernel-modules/
      mlnx-ofa_kernel

   ldap/
      nss-pam-ldapd
      openldap

   logging/
      syslog-ng
      logrotate

   networking/
      lldpd
      iproute
      mellanox
      python-ryu
      mlx4-config

   python/
      python-2.7.5
      python-django
      python-gunicorn
      python-setuptools
      python-smartpm
      python-voluptuous

   security/
      shim-signed
      shim-unsigned
      tboot

   strorage-drivers/
      python-3parclient
      python-lefthandclient

   virt/
      cloud-init
      libvirt
      libvirt-python
      qemu

   tools/
      storage-topology
      vm-topology

   utilities/
      tis-extensions
      namespace-utils
      nova-utils
      update-motd

Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2018-08-01 10:02:19 -04:00
parent 948d42b03b
commit 92d2320ae7
9 changed files with 3675 additions and 0 deletions

View File

@ -0,0 +1,3 @@
The src rpm version indicates that we are patching python 2.7.5, however there are at least 58 patches
added by Centos to fix issues fixed in the later python 2.7 releases.

View File

@ -0,0 +1 @@
TIS_PATCH_VER=3

View File

@ -0,0 +1,25 @@
From e9bc5d92bb0ee327015626072fee83f12018712c Mon Sep 17 00:00:00 2001
From: Al Bailey <Al.Bailey@windriver.com>
Date: Tue, 27 Mar 2018 12:38:50 -0500
Subject: [PATCH] Update package versioning for TIS format
---
SPECS/python.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/python.spec b/SPECS/python.spec
index a9fd32f..62f21d4 100644
--- a/SPECS/python.spec
+++ b/SPECS/python.spec
@@ -106,7 +106,7 @@ Summary: An interpreted, interactive, object-oriented programming language
Name: %{python}
# Remember to also rebase python-docs when changing this:
Version: 2.7.5
-Release: 58%{?dist}
+Release: 58.el7%{?_tis_dist}.%{tis_patch_ver}
License: Python
Group: Development/Languages
Requires: %{python}-libs%{?_isa} = %{version}-%{release}
--
1.8.3.1

View File

@ -0,0 +1,25 @@
From 2f23c2c6194d828de7bede593926007802cca610 Mon Sep 17 00:00:00 2001
From: Al Bailey <Al.Bailey@windriver.com>
Date: Tue, 6 Mar 2018 18:21:48 -0600
Subject: [PATCH] Disable unittest check phase
---
SPECS/python.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/python.spec b/SPECS/python.spec
index a9fd32f..1030c57 100644
--- a/SPECS/python.spec
+++ b/SPECS/python.spec
@@ -54,7 +54,7 @@
%global with_gdbm 1
# Turn this to 0 to turn off the "check" phase:
-%global run_selftest_suite 1
+%global run_selftest_suite 0
# Some of the files below /usr/lib/pythonMAJOR.MINOR/test (e.g. bad_coding.py)
# are deliberately invalid, leading to SyntaxError exceptions if they get
--
1.8.3.1

View File

@ -0,0 +1,42 @@
From ff1efc0b077c78bedead5fdc6792240806f5a97c Mon Sep 17 00:00:00 2001
From: Al Bailey <Al.Bailey@windriver.com>
Date: Wed, 28 Mar 2018 08:26:56 -0500
Subject: [PATCH] Make Python Faster
---
SPECS/python.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/SPECS/python.spec b/SPECS/python.spec
index adc6815..fadf838 100644
--- a/SPECS/python.spec
+++ b/SPECS/python.spec
@@ -1195,6 +1195,8 @@ Patch268: 00268-set-stream-name-to-None.patch
# above:
Patch5000: 05000-autotool-intermediates.patch
+Patch9000: Rollup-optimization-commits.patch
+
# ======================================================
# Additional metadata, and subpackages
# ======================================================
@@ -1591,6 +1593,7 @@ find -name "*~" |xargs rm -f
%patch5000 -p0 -b .autotool-intermediates
%endif
+%patch9000 -p1
# ======================================================
# Configuring and building the code:
@@ -1721,7 +1724,7 @@ BuildPython debug \
BuildPython optimized \
python \
python%{pybasever} \
- "" \
+ "--enable-optimizations --with-computed-gotos" \
true
--
1.8.3.1

View File

@ -0,0 +1,25 @@
From 83b8eb17d13fd5afdb926698082e47cba029c531 Mon Sep 17 00:00:00 2001
From: Al Bailey <Al.Bailey@windriver.com>
Date: Wed, 28 Mar 2018 15:23:35 -0500
Subject: [PATCH] Turn off with_systemtap to disable dtrace
---
SPECS/python.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/python.spec b/SPECS/python.spec
index 2441951..c2edce8 100644
--- a/SPECS/python.spec
+++ b/SPECS/python.spec
@@ -42,7 +42,7 @@
%global with_gdb_hooks 1
-%global with_systemtap 1
+%global with_systemtap 0
# some arches don't have valgrind so we need to disable its support on them
%ifarch %{ix86} x86_64 ppc %{power64} s390x aarch64
--
1.8.3.1

View File

@ -0,0 +1,4 @@
0001-Update-package-versioning-for-TIS-format.patch
0002-Disable-unittest-check-phase.patch
0003-Make-Python-Faster.patch
0004-Turn-off-with_systemtap-to-disable-dtrace.patch

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
mirror:Source/python-2.7.5-58.el7.src.rpm