[clblas] 01/02: d/rules: clean residual pyc files from build. Fixes FTBFS in reproducibility builds.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Dec 30 09:04:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag debian/2.8+ds1-3
in repository clblas.

commit 5aa0555514f2854da15565d8761f02e10f49073e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Dec 17 17:55:12 2015 +0000

    d/rules: clean residual pyc files from build.
    Fixes FTBFS in reproducibility builds.
---
 debian/rules | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2631c9b..bdd9040 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,12 @@ export CMAKE_BUILD_OPTIONS = \
 		--sourcedirectory=src \
 		--dbg-package=libclblas2-dbg
 
+override_dh_auto_clean-indep:
+	dh_auto_clean --indep
+	rm -rf ./doc/html
+	rm -f ./doc/doxygen_sqlite3.db
+	find . -name "*.pyc" -delete
+
 override_dh_auto_configure-arch:
 	dh_auto_configure -- ${CMAKE_BUILD_OPTIONS} \
 		-DBUILD_SAMPLE=OFF
@@ -52,10 +58,6 @@ override_dh_auto_configure-indep:
 override_dh_auto_build-indep:
 	cd doc && doxygen clBLAS.doxy
 
-override_dh_auto_clean-indep:
-	rm -rf doc/html
-	rm -f doc/doxygen_sqlite3.db
-
 override_dh_installdocs-indep:
 	dh_installdocs --indep
 	dh_doxygen --indep

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git



More information about the debian-science-commits mailing list