Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2019-02-08 12:11:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Fri Feb 8 12:11:11 2019 rev:154 rq:672100 version:4.0.0+git.1543873923.0f9166fd Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2018-12-06 12:19:19.565390433 +0100 +++ /work/SRC/openSUSE:Factory/.crmsh.new.28833/crmsh.changes 2019-02-08 12:11:15.585517474 +0100 @@ -1,0 +2,6 @@ +Wed Feb 6 07:45:26 UTC 2019 - kgronl...@suse.com + +- Avoid touching files to make build more reproducible +- Install bash completion to correct location + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.LLzUHe/_old 2019-02-08 12:11:16.673517066 +0100 +++ /var/tmp/diff_new_pack.LLzUHe/_new 2019-02-08 12:11:16.673517066 +0100 @@ -1,7 +1,7 @@ # # spec file for package crmsh # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -142,23 +142,12 @@ %prep %setup -q -touch -r doc/crm.8.adoc{,.timestamp} # replace the shebang in all the scripts # with ${_bindir}/python3 find . -type f -exec perl -pi -e 'BEGIN{undef $/};s[^#\!/usr/bin/python[3]?][#\!%{_bindir}/python3]' {} \; find . -type f -exec perl -pi -e 'BEGIN{undef $/};s[^#\!/usr/bin/env python[3]?][#\!%{_bindir}/python3]' {} \; -# Force the local time -# -# 'hg archive' sets the file date to the date of the last commit. -# This can result in files having been created in the future -# when building on machines in timezones 'behind' the one the -# commit occurred in - which seriously confuses 'make' -find . -mtime -0 -exec touch \{\} \; -# keep the .adoc mtime because it gets embedded in crm.8.html -touch -r doc/crm.8.adoc{.timestamp,} - %build ./autogen.sh @@ -180,7 +169,7 @@ %install make DESTDIR=%{buildroot} docdir=%{crmsh_docdir} install -install -Dm0644 contrib/bash_completion.sh %{buildroot}%{_sysconfdir}/bash_completion.d/crm.sh +install -Dm0644 contrib/bash_completion.sh %{buildroot}%{_datadir}/bash-completion/completions/crm.sh if [ -f %{buildroot}%{_bindir}/crm ]; then install -Dm0755 %{buildroot}%{_bindir}/crm %{buildroot}%{_sbindir}/crm rm %{buildroot}%{_bindir}/crm @@ -237,7 +226,7 @@ %dir %{crmsh_docdir} %dir %{crmsh_docdir}/contrib %dir %attr (770, %{uname}, %{gname}) %{_var}/cache/crm -%config %{_sysconfdir}/bash_completion.d/crm.sh +%{_datadir}/bash-completion/completions/crm.sh %files scripts %defattr(-,root,root)