cba5755194
Change-Id: I7d21a2c040d870b58c77bd0bf0d7d71075beb28b
75 lines
2.6 KiB
YAML
75 lines
2.6 KiB
YAML
---
|
|
#
|
|
# $Id$
|
|
#
|
|
# Filter for all files
|
|
#
|
|
#
|
|
# PBREPO is replaced by the root URL to access the repository
|
|
filter:
|
|
PBPACKAGER: $pb->{'packager'}
|
|
PBDATE: $pb->{'date'}
|
|
PBWITHPY3: 1
|
|
PBTAG: $pb->{'tag'}
|
|
PBSHAREPATH: /usr/share/redfish-client
|
|
PBPKG: $pb->{'pkg'}
|
|
PBREV: $pb->{'rev'}
|
|
PBREALPKG: $pb->{'realpkg'}
|
|
PBEXTDIR: $pb->{'extdir'}
|
|
PBDESC: The Redfish API supports dialoging with a Redfish compliant$/system such as defined by http://www.redfishcertification.org
|
|
PBSUMMARY: Redfish python library
|
|
PBPYTHON3FILTER: perl -pi -e "s|configparser>=3.3.0; python_version < '3'|configparser>=3.3.0|" requirements.txt
|
|
PBCONFFILE: /etc/redfish-client.conf
|
|
PBREPO: $pb->{'repo'}
|
|
PBURL: https://review.openstack.org/#/q/project:openstack/python-redfish
|
|
PBSRC: src/%{name}-%{version}$pb->{'extdir'}.tar.gz
|
|
PBPROJ: $pb->{'proj'}
|
|
PBVER: $pb->{'ver'}
|
|
PBLOG: yes
|
|
#
|
|
# PBSRC is replaced by the source package location after the repo
|
|
#
|
|
# PBVER is replaced by the version ($pb->{'ver'} in code)
|
|
#
|
|
# PBDATE is replaced by the date ($pb->{'date'} in code)
|
|
#
|
|
# PBEXTDIR is replaced by the testdir extension if needed ($pb->{'extdir'} in code)
|
|
#
|
|
# PBPATCHSRC is replaced by the patches names if value is yes. Patches are located under the pbpatch dir of the pkg.
|
|
#filter PBPATCHSRC = yes
|
|
#
|
|
# PBPATCHCMD is replaced by the patches commands if value is yes
|
|
#filter PBPATCHCMD = yes
|
|
#
|
|
# PBMULTISRC is replaced by the sources names if value is yes. Sources are located under the pbsrc dir of the pkg.
|
|
#filter PBMULTISRC = yes
|
|
#
|
|
# PBTAG is replaced by the tag ($pb->{'tag'} in code)
|
|
#
|
|
# PBREV is replaced by the revision ($pb->{'rev'} in code)
|
|
#
|
|
# PBREALPKG is replaced by the package name ($pb->{'realpkg'} in code)
|
|
#
|
|
# PBPKG is replaced by the package name ($pb->{'pkg'} in code)
|
|
#
|
|
# PBPROJ is replaced by the project name ($pb->{'proj'} in code)
|
|
#
|
|
# PBPACKAGER is replaced by the packager name ($pb->{'packager'} in code)
|
|
#
|
|
# PBDESC contains the description of the package
|
|
# with a trailing , the variable can be multi-line.
|
|
# only the trailing 's will be removed, the leading spaces,
|
|
# trailing spaces, and newlines will remain except on the
|
|
# last line. You can use dollar slash as a way to introduce carriage
|
|
# return (perl syntax).
|
|
# You can use transform e.g. in rpm.pbf to adjust spaces
|
|
#
|
|
# PBSUMMARY contains a short single line description of the package
|
|
#
|
|
# PBURL contains the URL of the Web site of the project
|
|
#
|
|
# PBLOG is replaced by the changelog if value is yes
|
|
# and should be last as when used we need the %pb hash filled
|
|
#
|
|
# By default build for python3
|