nokia / git-changelog-generator

Git Changelog Generator
https://pypi.python.org/pypi/gcg
BSD 3-Clause "New" or "Revised" License
14 stars 5 forks source link

Work around RPM builds on Debian used on CentOS #29

Closed weakcamel closed 6 years ago

weakcamel commented 6 years ago

Released packages are built on Ubuntu nodes (as this is what Travis gives us at the moment).

CI should run a matrix build - that's todo for future. Problem at hand is that packages built on Ubuntu install to /usr/lib/python2.7/dist-packages - which works even with RPMs on Ubuntu, but not with RPMs on CentOS (sic!)

/usr/lib/python2.7/dist-packages:
total 16
drwxr-xr-x 4 root root 4096 Jun  6 10:41 .
drwxr-xr-x 5 root root 4096 Jun  6 10:41 ..
drwxr-xr-x 3 root root 4096 Jun  6 10:41 gcg
drwxr-xr-x 2 root root 4096 Jun  6 10:41 gcg-0.1.7-py2.7.egg-info

/usr/lib/python2.7/site-packages:
total 708
drwxr-xr-x 24 root root   4096 Jun  6 10:41 .
drwxr-xr-x  5 root root   4096 Jun  6 10:41 ..
drwxr-xr-x  2 root root   4096 Jun  6 10:41 Babel-0.9.6-py2.7.egg-info
drwxr-xr-x  2 root root   4096 Jun  6 10:41 GitPython-1.0.1-py2.7.egg-info
drwxr-xr-x  2 root root   4096 Jun  6 10:41 Jinja2-2.7.2-py2.7.egg-info
drwxr-xr-x  2 root root   4096 Jun  6 10:41 _markerlib
drwxr-xr-x  4 root root   4096 Jun  6 10:41 babel
drwxr-xr-x  3 root root   4096 Jun  6 10:41 backports
-rw-r--r--  1 root root   4051 Apr 11 02:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info
drwxr-xr-x  2 root root   4096 Sep 11  2017 chardet
drwxr-xr-x  2 root root   4096 Sep 11  2017 chardet-2.2.1-py2.7.egg-info
-rw-r--r--  1 root root    126 Jul 15  2013 easy_install.py
-rw-r--r--  2 root root    315 Aug  2  2017 easy_install.pyc
-rw-r--r--  2 root root    315 Aug  2  2017 easy_install.pyo
drwxr-xr-x  7 root root   4096 Jun  6 10:41 git
drwxr-xr-x  2 root root   4096 Sep 11  2017 iniparse
-rw-r--r--  1 root root   1083 Jun  9  2014 iniparse-0.4-py2.7.egg-info
-rw-r--r--  1 root root    783 Nov  5  2016 ipaddress-1.0.16-py2.7.egg-info
-rw-r--r--  1 root root  79904 Dec 28  2015 ipaddress.py
-rw-r--r--  1 root root  75525 Nov  5  2016 ipaddress.pyc
-rw-r--r--  1 root root  75335 Nov  5  2016 ipaddress.pyo
drwxr-xr-x  3 root root   4096 Jun  6 10:41 jinja2
drwxr-xr-x 10 root root   4096 Sep 11  2017 kitchen
drwxr-xr-x  2 root root   4096 Sep 11  2017 kitchen-1.1.1-py2.7.egg-info
-rw-r--r--  1 root root 101108 Jul 15  2013 pkg_resources.py
-rw-r--r--  1 root root 108033 Aug  2  2017 pkg_resources.pyc
-rw-r--r--  1 root root 108001 Aug  2  2017 pkg_resources.pyo
drwxr-xr-x  2 root root   4096 Sep 11  2017 rpmUtils
drwxr-xr-x  2 root root   4096 Jun  6 10:41 semver-2.7.8-py2.7.egg-info
-rw-r--r--  1 root root  10139 Aug 25  2017 semver.py
-rw-r--r--  2 root root  12152 Feb  9 11:45 semver.pyc
-rw-r--r--  2 root root  12152 Feb  9 11:45 semver.pyo
drwxr-xr-x  4 root root   4096 Jun  6 10:41 setuptools
drwxr-xr-x  2 root root   4096 Jun  6 10:41 setuptools-0.9.8-py2.7.egg-info
drwxr-xr-x  2 root root   4096 Jun  6 10:41 smmap
drwxr-xr-x  2 root root   4096 Jun  6 10:41 smmap-0.9.0-py2.7.egg-info
drwxr-xr-x  2 root root   4096 Sep 11  2017 urlgrabber
-rw-r--r--  1 root root   2265 Nov  5  2016 urlgrabber-3.10-py2.7.egg-info
drwxr-xr-x  2 root root   4096 Sep 11  2017 yum
drwxr-xr-x  2 root root   4096 Sep 11  2017 yumutils