b40437d19c
- usage files are now placed under /usr/share (PBSHAREPATH variable) and not /usr/bin with the binary. - PBTEMPLATEPATH replaced by PBSHAREPATH/templates Change-Id: I757c679bf03e4e93028e019086ad665e2d43b35b
73 lines
2.7 KiB
Plaintext
73 lines
2.7 KiB
Plaintext
#
|
|
# $Id$
|
|
#
|
|
# Filter for all files
|
|
#
|
|
#
|
|
# PBREPO is replaced by the root URL to access the repository
|
|
filter PBREPO = $pb->{'repo'}
|
|
|
|
# PBSRC is replaced by the source package location after the repo
|
|
filter PBSRC = src/%{name}-%{version}$pb->{'extdir'}.tar.gz
|
|
|
|
# PBVER is replaced by the version ($pb->{'ver'} in code)
|
|
filter PBVER = $pb->{'ver'}
|
|
|
|
# PBDATE is replaced by the date ($pb->{'date'} in code)
|
|
filter PBDATE = $pb->{'date'}
|
|
|
|
# PBEXTDIR is replaced by the testdir extension if needed ($pb->{'extdir'} in code)
|
|
filter PBEXTDIR = $pb->{'extdir'}
|
|
|
|
# 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)
|
|
filter PBTAG = $pb->{'tag'}
|
|
|
|
# PBREV is replaced by the revision ($pb->{'rev'} in code)
|
|
filter PBREV = $pb->{'rev'}
|
|
|
|
# PBREALPKG is replaced by the package name ($pb->{'realpkg'} in code)
|
|
filter PBREALPKG = $pb->{'realpkg'}
|
|
|
|
# PBPKG is replaced by the package name ($pb->{'pkg'} in code)
|
|
filter PBPKG = $pb->{'pkg'}
|
|
|
|
# PBPROJ is replaced by the project name ($pb->{'proj'} in code)
|
|
filter PBPROJ = $pb->{'proj'}
|
|
|
|
# PBPACKAGER is replaced by the packager name ($pb->{'packager'} in code)
|
|
filter PBPACKAGER = $pb->{'packager'}
|
|
|
|
# PBDESC contains the description of the package
|
|
filter PBDESC = The Redfish API supports dialoging with a Redfish compliant$/system such as defined by http://www.redfishcertification.org
|
|
# 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
|
|
filter PBSUMMARY = Redfish python library
|
|
|
|
# PBURL contains the URL of the Web site of the project
|
|
filter PBURL = https://review.openstack.org/#/q/project:openstack/python-redfish
|
|
|
|
# PBLOG is replaced by the changelog if value is yes
|
|
# and should be last as when used we need the %pb hash filled
|
|
filter PBLOG = yes
|
|
|
|
filter PBCONFFILE = /etc/redfish-client.conf
|
|
filter PBSHAREPATH = /usr/share/redfish-client
|
|
filter PBPYTHON3FILTER = perl -pi -e "s|configparser>=3.3.0; python_version < '3'|configparser>=3.3.0|" requirements.txt
|
|
# By default build for python3
|
|
filter PBWITHPY3 = 1
|