[SCM] ffmpeg/master-0.6: debian/rules: allow clean as non-root

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Thu Jul 21 13:48:20 UTC 2011


The following commit has been merged in the master-0.6 branch:
commit 55367e33630408fec7a8362d75faf7a5be6fd6c7
Author: Jonathan Nieder <jrnieder at gmail.com>
Date:   Mon May 2 19:24:05 2011 -0500

    debian/rules: allow clean as non-root
    
    After running "debian/rules build" as an unprivileged user, there is
    no reason to require (fake) root privileges to clean up.  Even when
    cleaning up after "sudo debian/rules install", at worst the clean
    target would error out because unable to remove a file in a directory
    owned by root and the operator will know to run "debian/rules clean"
    as root to fix it.
    
    Signed-off-by: Jonathan Nieder <jrnieder at gmail.com>
    (cherry-picked from commit 69ae71a09af49ae0074a629d63d80559388c3912)

diff --git a/debian/rules b/debian/rules
index 979ca4a..9d075c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,7 +59,6 @@ build-stamp: $(addprefix build-stamp-, $(FLAVORS)) debian-shared/tools/qt-fastst
 clean: clean-real unpatch
 clean-real:
 	dh_testdir
-	dh_testroot
 	rm -f build-stamp $(addprefix build-stamp-, $(FLAVORS)) \
 	    $(addprefix configure-stamp-, $(FLAVORS)) patch-stamp \
 	    build-doxy-stamp

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list