[Pkg-fglrx-devel] r1577 - fglrx-driver/branches/15.12/debian

Andreas Beckmann anbe at moszumanska.debian.org
Sun Jan 17 23:36:21 UTC 2016


Author: anbe
Date: 2016-01-17 23:36:21 +0000 (Sun, 17 Jan 2016)
New Revision: 1577

Modified:
   fglrx-driver/branches/15.12/debian/rules
Log:
use tar-1.28's --clamp-mtime for reproducible timestamping

Modified: fglrx-driver/branches/15.12/debian/rules
===================================================================
--- fglrx-driver/branches/15.12/debian/rules	2016-01-17 23:16:39 UTC (rev 1576)
+++ fglrx-driver/branches/15.12/debian/rules	2016-01-17 23:36:21 UTC (rev 1577)
@@ -233,9 +233,9 @@
 	    && rm -f arch/*/lib/modules/fglrx/fglrx.*.o \
 	    && chmod -R a-sx,u=rwX,go=rX . \
 	    && find . -type f \( -path '*/bin/*' -o -path '*/sbin/*' -o -name '*.sh' \) -exec chmod a+x {} +
-	find $(packagename)-$(REAL_UPSTREAM_VERSION).orig -depth -newer newest.stamp -exec touch -r newest.stamp {} \;
 	# Create the tarball.
 	tar -cJf $(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.xz \
+	    --clamp-mtime --mtime=./newest.stamp \
 	    --sort=name \
 	    --owner=root --group=src \
 	    $(packagename)-$(REAL_UPSTREAM_VERSION).orig
@@ -247,6 +247,7 @@
 get-orig-source: get-orig-source-checks $(INSTALLER)
 	$(MAKE) -f debian/rules repack_upstream_archive
 	rm -f $(INSTALLER)
+	rm -rf $(filter-out ./,$(dir $(INSTALLER)))
 
 repack_upstream_archive: $(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.xz
 else




More information about the Pkg-fglrx-devel mailing list