diff --git a/xemacs.changes b/xemacs.changes index c2f462c..997f9d7 100644 --- a/xemacs.changes +++ b/xemacs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 29 07:51:21 UTC 2017 - bwiedemann@suse.com + +- use gzip -n to not add timestamps to .gz headers +- use %fdupes macro to create symlinks in a reproducible way + ------------------------------------------------------------------- Sat May 6 10:34:52 UTC 2017 - meissner@suse.com diff --git a/xemacs.spec b/xemacs.spec index 3a93305..69af295 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -431,7 +431,7 @@ for f in %{buildroot}%{_prefix}/man/man1/*.1 \ do test "${f##*.}" = "gz" && continue test -e $f || continue - gzip -9f $f + gzip -9nf $f done find %{buildroot}%{_datadir}/xemacs/%{version}/ -name '*.orig' | xargs -r rm -f find %{buildroot}%{_datadir}/xemacs/%{version}/ -name '*.el.ediff' | xargs -r rm -f @@ -489,30 +489,7 @@ install -m 0644 suse/README.SUSE %{buildroot}/%{_docdir}/xemacs/README.SUSE ln -sf /usr/share/xemacs/%{version}/etc %{buildroot}/%{_docdir}/xemacs/etc mkdir -p %{buildroot}%{_sysconfdir}/skel/.xemacs install -m 0644 %{_sourcedir}/skel.init.el %{buildroot}%{_sysconfdir}/skel/.xemacs/init.el -fdupes -q -r -1 %{buildroot}%{_datadir}/xemacs/%{version}/etc/ %{buildroot}%{_mandir}/man1/ |\ -xargs -n 2 | while read first second; do - case "${first}" in - *xemacs/%{version}/etc/*) - target=$second - file=$first - ;; - *) target=$first - file=$second - esac - ln -sf ${file#%{buildroot}} ${target} -done -fdupes -q -r -1 %{buildroot}%{_datadir}/xemacs/%{version}/etc/toolbar/ |\ -xargs -n 2 | while read first second; do - case "${first}" in - *xemacs/%{version}/etc/*) - target=$second - file=$first - ;; - *) target=$first - file=$second - esac - ln -sf ${file#%{buildroot}} ${target} -done +%fdupes -s %{buildroot}%{_datadir} # # replace buildroot in comments in .elc files by spaces with the same total length: REPLACEMENT=$(echo %{buildroot} | tr '[:print:]' ' ')