Fix missing Contents and Index in Qt help file
Adjust the timestamp of online-help.qch to the value expected by
online-help.qhc
- The rpm is built on servers using UTC. Get this UTC timestamp and
apply it to the file under the local TZ
- Further details:
9693940dad (commitcomment-43482215)
This commit is contained in:
parent
3b49bcefb2
commit
295c9c21fd
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: cppcheck
|
Name: cppcheck
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Tool for static C/C++ code analysis
|
Summary: Tool for static C/C++ code analysis
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://cppcheck.wiki.sourceforge.net/
|
URL: http://cppcheck.wiki.sourceforge.net/
|
||||||
@ -122,7 +122,16 @@ cd %{_vpath_builddir}/bin
|
|||||||
%files htmlreport
|
%files htmlreport
|
||||||
%{_bindir}/cppcheck-htmlreport
|
%{_bindir}/cppcheck-htmlreport
|
||||||
|
|
||||||
|
%post
|
||||||
|
# Adjust the timestamp of online-help.qch to the value expected by online-help.qhc
|
||||||
|
# The rpm is built on servers using UTC. Get this UTC timestamp and apply it to the file under the local TZ
|
||||||
|
# https://github.com/danmar/cppcheck/commit/9693940dadfd54bb0bac2549e1b2d6804be9a1a8#commitcomment-43482215
|
||||||
|
touch -a -m -t $(TZ=UTC date -r /usr/share/Cppcheck/help/online-help.qch +%Y%m%d%H%M.%%S) /usr/share/Cppcheck/help/online-help.qch
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 22 2020 Wolfgang Stöggl <c72578@yahoo.de> - 2.2-4
|
||||||
|
- Fix missing Contents and Index in Qt online-help file
|
||||||
|
|
||||||
* Tue Oct 13 2020 Jeff Law <law@redhat.com> - 2.2-3
|
* Tue Oct 13 2020 Jeff Law <law@redhat.com> - 2.2-3
|
||||||
- Fix missing #include for gcc-11
|
- Fix missing #include for gcc-11
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user