Browse Source

Add URL to specfile template

Alois Mahdal 7 years ago
parent
commit
507a8374ce
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/stub

+ 1
- 0
src/stub View File

140
             echo 'Version:  __MKIT_PROJ_VERSION__'
140
             echo 'Version:  __MKIT_PROJ_VERSION__'
141
             echo 'Release:  1%{?dist}'
141
             echo 'Release:  1%{?dist}'
142
             echo 'Summary:  __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__'
142
             echo 'Summary:  __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__'
143
+            test -n "$VcsBrowser" && echo 'URL:  __MKIT_PROJ_VCS_BROWSER__'
143
             $MkLicense && echo "License:  $License"
144
             $MkLicense && echo "License:  $License"
144
             echo ''
145
             echo ''
145
             echo 'Source0:       %{name}-%{version}.tar.gz'
146
             echo 'Source0:       %{name}-%{version}.tar.gz'