[SCM] vlc/experimental: Set Rules-Requires-Root: no

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Thu Nov 23 22:28:27 UTC 2017


The following commit has been merged in the experimental branch:
commit 2596d9e2c970321201a6b6bf8c597bfbb930a0cf
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Thu Nov 23 23:27:07 2017 +0100

    Set Rules-Requires-Root: no

diff --git a/debian/control b/debian/control
index bd6f30f..f63bf0c 100644
--- a/debian/control
+++ b/debian/control
@@ -134,6 +134,7 @@ Standards-Version: 4.1.1
 Homepage: https://www.videolan.org/vlc/
 Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/vlc.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/vlc.git
+Rules-Requires-Root: no
 
 Package: vlc
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 3ede5c0..5823e23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -272,14 +272,7 @@ endif
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-	# Check which plugins were built and whether they load properly.
-	@if test $$( id -u ) -eq 0 ; then \
-	   echo "Not runing the test as you are compiling as root"; \
-	   echo "Use 'dpkg-buildpackage -rfakeroot' rather than 'fakeroot dpkg-buildpackage'"; \
-	else \
-	   command="./vlc -vvv --ignore-config --no-plugins-cache --list --no-color"; \
-	   echo "$${command}"; $${command} ; \
-	fi
+	./vlc -vvv --ignore-config --no-plugins-cache --list --no-color
 endif
 endif
 

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list