New version of PR #38
- Put back python funny syntax in requirements.txt - Create a PB macro (for now in all.pbf) to alter the requirements.txt to remove the funny python syntax
This commit is contained in:
parent
04e5591443
commit
f876aa6711
@ -69,3 +69,4 @@ filter PBLOG = yes
|
|||||||
|
|
||||||
filter PBCONFFILE = /etc/redfish-client.conf
|
filter PBCONFFILE = /etc/redfish-client.conf
|
||||||
filter PBTEMPLATEPATH = /usr/share/redfish-client/templates
|
filter PBTEMPLATEPATH = /usr/share/redfish-client/templates
|
||||||
|
filter PBPYTHON3FILTER = perl -pi -e "s|configparser>=3.3.0; python_version < '3'|configparser>=3.3.0|" requirements.txt
|
||||||
|
@ -22,6 +22,8 @@ PBDESC
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Fix for now as long as setuptools isn't more recent in distributions
|
||||||
|
PBPYTHON3FILTER
|
||||||
%{__python} setup.py build
|
%{__python} setup.py build
|
||||||
|
|
||||||
# Build minimal documentation
|
# Build minimal documentation
|
||||||
|
@ -12,4 +12,4 @@ requests>=2.9.1
|
|||||||
|
|
||||||
# Python3 compat
|
# Python3 compat
|
||||||
future>=0.15.2
|
future>=0.15.2
|
||||||
#configparser>=3.3.0; python_version < '3'
|
configparser>=3.3.0; python_version < '3'
|
||||||
|
Loading…
Reference in New Issue
Block a user