No need to make the RPM install script move bin/ to sbin/ now that setup.py
authorGuillaume Chazarain <guichaz@gmail.com>
Sun, 26 May 2013 16:35:33 +0000 (26 18:35 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Sun, 26 May 2013 16:35:33 +0000 (26 18:35 +0200)
installs to sbin/.

.install-rpm.sh

index 9b6fc3e..406c650 100755 (executable)
@@ -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 -