summaryrefslogtreecommitdiffstats
path: root/php-webmozart-assert2.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-02-17 14:55:04 +0100
committerRemi Collet <remi@php.net>2026-02-17 14:55:04 +0100
commit6ffe6a25c877c4e4958540c4ccc5a33dd1d8c8ce (patch)
treef1352b4866a622bc0fadc50171fdc783cc5f1fd3 /php-webmozart-assert2.spec
parente7386785b95566c3e0fb2da705062b7c35f1edb8 (diff)
cleanup
Diffstat (limited to 'php-webmozart-assert2.spec')
-rw-r--r--php-webmozart-assert2.spec3
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