Browse Source

Add URL to specfile template

Alois Mahdal 6 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,6 +140,7 @@ deploy() {
140 140
             echo 'Version:  __MKIT_PROJ_VERSION__'
141 141
             echo 'Release:  1%{?dist}'
142 142
             echo 'Summary:  __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__'
143
+            test -n "$VcsBrowser" && echo 'URL:  __MKIT_PROJ_VCS_BROWSER__'
143 144
             $MkLicense && echo "License:  $License"
144 145
             echo ''
145 146
             echo 'Source0:       %{name}-%{version}.tar.gz'