# use filterdiff, etc to exclude bad chunks from diff
filter() {
# remove revno's for smaller diffs
- sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
+ # replace svn nonexistend with '0' date, so patch will know that file needs to be removed from disk
+ sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,' | \
+ sed -e 's,^\([-+]\{3\} .*\t\)(nonexistent)$,\11970-01-01 01:00:00.000000000 +0100,'
}
old=$svn/$tag
Summary(pt_BR.UTF-8): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
Name: gcc
Version: %{major_ver}.%{minor_ver}
-Release: 5
+Release: 6
Epoch: 6
License: GPL v3+
Group: Development/Languages
Source4: branch.sh
# use branch.sh to update glibc-branch.diff
Patch100: %{name}-branch.diff
-# Patch100-md5: 4a58511a43a1387d3f2e004ff67d6fb6
+# Patch100-md5: 5e61603c46bcf0986d005cf6b7b53bf3
# https://github.com/hjl-tools/gcc.git
# git log -p --reverse origin/gcc-7-branch..hjl/indirect/gcc-7-branch/master > ~/rpm/packages/gcc/gcc-retpoline.patch
Patch101: %{name}-retpoline.patch