Bruno Cornec 77580a87d2 Fix rpm build with pb for CentOS7
- Adds a macro to build for python3 (not activated for CentOS 7)
- Fix dependency list for CentoS7
- Limit VM list to reasonable distros
- This is again a test version.
- Build Test remains to be done for Fedora and Mageia
- Fix #45 with operational CentOS 7 build

Change-Id: I90fc6030a11932b7ef259100eb72aa629a19d1a6
2017-01-26 13:54:05 +01:00

34 lines
1.6 KiB
Plaintext

#
# $Id$
#
# Filter for rpm build
#
# PBGRP is replaced by the RPM group of apps
filter PBGRP = Applications/System
# PBLIC is replaced by the license of the application
filter PBLIC = ASL 2.0
# PBDEP is replaced by the list of dependencies
#filter PBDEP =
# PBBDEP is replaced by the list of build dependencies
filter PBPYTHON2BDEP = make,python-devel,python-setuptools >= 18,python-sphinx >= 1.2.3,python-future >= 0.15.2,python-docopt >= 0.6.2,python-requests >= 2.9.1,python-simplejson >= 3.8.1,python-configparser >= 3.3.0,texlive,python-sphinx_rtd_theme
filter PBPYTHON2DEP = python-docopt >= 0.6.2,python-tortilla >= 0.4.1,python-jinja2 >= 2.7.3,python-simplejson >= 3.8.1,python-requests >= 2.9.1,python-configparser >= 3.3.0,python-future >= 0.15.2
filter PBPYTHON3BDEP = python3-devel,python3-setuptools >= 18,python3-sphinx >= 1.2.3,python3-future >= 0.15.2,python3-docopt >= 0.6.2,python3-requests >= 2.9.1,python3-simplejson >= 3.8.1,texlive,python3-sphinx_rtd_theme
filter PBPYTHON3DEP = python3-docopt >= 0.6.2,python3-tortilla >= 0.4.1,python3-jinja2 >= 2.7.3,python3-simplejson >= 3.8.1,python3-requests >= 2.9.1
filter PBPYTHON3PKG = python3-redfish
# PBSUF is replaced by the package suffix ($pb->{'suf'} in code)
filter PBSUF = $pb->{'suf'}
# PBOBS is replaced by the Obsolete line
#filter PBOBS =
# transform a variable from the key on the right to the key on the left using the perl expression
# after the input key name. Useful for taking multi-line documentation and removing trailing spaces
# or leading spaces.
#transform PBDESC = PBDESC_raw s/\s+\n/\n/go;