From: Guillaume Chazarain Date: Sun, 26 May 2013 16:35:33 +0000 (+0200) Subject: No need to make the RPM install script move bin/ to sbin/ now that setup.py X-Git-Tag: iotop-0.6~6 X-Git-Url: https://repo.or.cz/w/iotop.git/commitdiff_plain/e2a04c1a033bdfec96aaad2eb71637bb5570a9b5 No need to make the RPM install script move bin/ to sbin/ now that setup.py installs to sbin/. --- diff --git a/.install-rpm.sh b/.install-rpm.sh index 9b6fc3e..406c650 100755 --- a/.install-rpm.sh +++ b/.install-rpm.sh @@ -8,9 +8,3 @@ sed -i -e 's@man/man\([[:digit:]]\)/\(.\+\.[[:digit:]]\)$@man/man\1/\2.gz@g' INS # actually, it doesn't on all distributions so just compress unconditionally # before brp-compress is run find "$RPM_BUILD_ROOT" -type f -name iotop.8 -exec gzip '{}' \; - -# move from bin/ to sbin/ -sed -i -e 's@/bin/iotop@/sbin/iotop@g' INSTALLED_FILES -cd "$(find "$RPM_BUILD_ROOT" -type d -name bin)/.." -mv bin sbin -cd -