From 7a06e91124fc391496cfb974fc1b18d698efd8f0 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Mon, 14 May 2018 08:58:32 -0400 Subject: [PATCH] rtslib-fb: reduce pyudev version requirements Signed-off-by: Jason Dillaman --- rtslib-fb/build/build_rpm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtslib-fb/build/build_rpm b/rtslib-fb/build/build_rpm index eac9627e..24e49b74 100644 --- a/rtslib-fb/build/build_rpm +++ b/rtslib-fb/build/build_rpm @@ -30,8 +30,11 @@ fi # Make sure there are no other packages, first rm -f *.rpm +# Adjust the version dependency on pyudev since EL7 doesn't have 0.16 +sed -i "s/'pyudev >=[^']*'/'pyudev >= 0.15'/" setup.py + # Create the package -fpm -s python -t rpm -n python-rtslib -v ${VERSION} --iteration ${REVISION} -d python-kmod -d python-six -d python2-pyudev setup.py +fpm -s python -t rpm -n python-rtslib -v ${VERSION} --iteration ${REVISION} -d python-kmod -d python-six -d python-pyudev setup.py ## Upload the created RPMs to chacra -- 2.39.5