From: Jason Dillaman Date: Mon, 14 May 2018 12:58:32 +0000 (-0400) Subject: rtslib-fb: reduce pyudev version requirements X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1029%2Fhead;p=ceph-build.git rtslib-fb: reduce pyudev version requirements Signed-off-by: Jason Dillaman --- 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