set -e
url=git://git.exim.org/exim.git
package=exim
-tag=exim-4.95
-branch=exim-4.95+fixes
+tag=exim-4.96
+branch=master
out=$package-git.patch
repo=$package.git
-echo "No usable branch on upstream git repository... exiting" >&2
-exit 1
-
# use filterdiff, etc to exclude bad chunks from diff
filter() {
- cat
+ filterdiff \
+ -x '*/test/*' \
+ -x '*/doc/*'
}
if [ ! -d $repo ]; then
cd $repo
git fetch origin +$branch:$branch +refs/tags/$tag:refs/tags/$tag
- git log -p --reverse $tag..$branch ":(exclude)doc/doc-*" ":(exclude)test" ":(exclude).*" | filter > ../$out.tmp
+ git log -p --reverse --first-parent $tag..$branch ":(exclude)doc/doc-*" ":(exclude)test" ":(exclude).*" | filter > ../$out.tmp
cd ..
if cmp -s $out{,.tmp}; then
Summary(pt_BR.UTF-8): Servidor de correio eletrônico exim
Name: exim
Version: 4.96
-Release: 2
+Release: 3
Epoch: 2
License: GPL v2+
Group: Networking/Daemons/SMTP
Source15: %{name}4-smtp.pamd
Source16: %{name}on.png
# sh branch.sh
-# Patch100: %{name}-git.patch
-# manually created patch with upstream fixes
-Patch100: %{name}-git-manual.patch
-# Patch100-md5: 706af51f29db2a91422081491fb85d87
+Patch100: %{name}-git.patch
+# Patch100-md5: 740ae0b0e536781a04fd566d8e523fe9
Patch0: %{name}4-EDITME.patch
Patch1: %{name}4-monitor-EDITME.patch
Patch2: %{name}4-cflags.patch