diff --git a/build-compare.changes b/build-compare.changes index 3ed89eb..f1c0a56 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -4,6 +4,7 @@ Tue Feb 3 11:34:39 UTC 2015 - olaf@aepfle.de - 2015.02.03 - Trim .TH also in perl man pages (bnc#915941) - Trim first line of man page to catch overly verbose tools +- Use correct offset for patching mtime out of .pyc files ------------------------------------------------------------------- Mon Feb 2 10:05:40 UTC 2015 - olaf@aepfle.de diff --git a/rpm-check.sh b/rpm-check.sh index 4e6d7d7..110c414 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -373,8 +373,8 @@ check_single_file() done return $ret;; *.pyc|*.pyo) - perl -e "open fh, '+<', 'old/$file'; seek fh, 3, SEEK_SET; print fh '0000';" - perl -e "open fh, '+<', 'new/$file'; seek fh, 3, SEEK_SET; print fh '0000';" + perl -e "open fh, '+<', 'old/$file'; seek fh, 4, SEEK_SET; print fh '0000';" + perl -e "open fh, '+<', 'new/$file'; seek fh, 4, SEEK_SET; print fh '0000';" ;; *.bz2) bunzip2 -c old/$file > old/${file/.bz2/}