diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/debian/rules b/debian/rules index 3bdd2ba..dede84d 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all  export VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w)) -CHDATE:=$(shell dpkg-parsechangelog --show-field=Date) +B_DATE:=$(shell LC_ALL=C date --utc -d "$(CHDATE)")  %:  	dh $@ @@ -20,7 +20,7 @@ override_dh_install:  	mkdir -p debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source  	find -type f -name '*.c' -exec cp --parent '{}' debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source/ ';'  	cd debian/shotwell-dbg/usr/share/doc/shotwell-dbg && \ -	tar --mtime="$(CHDATE)" -cJf temp-source.tar.xz temp-source +	tar --mode=go=rX,u+rw,a-s --mtime="$(B_DATE)" -cJf temp-source.tar.xz temp-source  	rm -fr debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source  override_dh_installchangelogs: | 
