diff --git a/ChangeLog b/ChangeLog index 513e248..16900d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ Changes in version 1.12.5 +Wed Oct 03 2012 Davide Madrisan + bugfix * autospec.spec - Davide Madrisan: @@ -18,6 +19,10 @@ Changes in version 1.12.5 * lib/libnetwork.lib - Davide Madrisan: git.create_tarball(): add some debug messages. ++ improvement + * spec-create - Davide Madrisan: + specfile.create(): modify the 'Source' tag by including a parsable git url. + ------------------------------------------------------------------------------- Changes in version 1.12.4 diff --git a/plugins/spec-create.in b/plugins/spec-create.in index 78003ba..052de3a 100644 --- a/plugins/spec-create.in +++ b/plugins/spec-create.in @@ -489,6 +489,8 @@ function specfile.create() { --git-branch="$git_branch" \ --preserve-dot-git="$preserve_dot_git" \ --destdir="$source_dir" "$2" + + spec_source="$2/${git_branch:-master}/$spec_source" ;; http://*|https://*|ftp://*) pck_tarball="${2##*/}"