diff options
Diffstat (limited to 'php-webmozart-assert2.spec')
| -rw-r--r-- | php-webmozart-assert2.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php-webmozart-assert2.spec b/php-webmozart-assert2.spec index a4d77ec..1d99297 100644 --- a/php-webmozart-assert2.spec +++ b/php-webmozart-assert2.spec @@ -15,6 +15,7 @@ %global github_name assert %global github_version 2.1.4 %global github_commit b39f1870fc7c3e9e4a26106df5053354b9260a33 +%global github_short %(c=%{github_commit}; echo ${c:0:7}) %global major 2 %global composer_vendor webmozart @@ -47,7 +48,7 @@ URL: https://github.com/%{github_owner}/%{github_name} # GitHub export does not include tests. # Run php-webmozart-assert-get-source.sh to create full source. -Source0: %{name}-%{github_version}-%{github_commit}.tar.gz +Source0: %{name}-%{github_version}-%{github_short}.tar.gz Source1: %{name}-get-source.sh BuildArch: noarch |
