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

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Tue May 3 11:30:01 UTC 2011


The following commit has been merged in the master branch:
commit 69ae71a09af49ae0074a629d63d80559388c3912
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>

diff --git a/debian/changelog b/debian/changelog
index b98306a..2ef6980 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ libav (4:0.7~b1-3) UNRELEASED; urgency=low
   * move note on source package lineage to README.Debian
   * install NEWS.Debian in libavcodec-dev
   * use dpkg source format 3.0 (quilt)
+  * allow "debian/rules clean" as unprivileged user
 
  -- Jonathan Nieder <jrnieder at gmail.com>  Mon, 02 May 2011 19:10:14 -0500
 
diff --git a/debian/rules b/debian/rules
index d883601..fe4a6ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,6 @@ build-stamp: $(addprefix build-stamp-, $(FLAVORS)) debian-shared/tools/qt-fastst
 
 clean:
 	dh_testdir
-	dh_testroot
 	rm -f build-stamp $(addprefix build-stamp-, $(FLAVORS)) \
 	    $(addprefix configure-stamp-, $(FLAVORS)) \
 	    build-doxy-stamp

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list