summaryrefslogtreecommitdiffstats
path: root/php-sebastian-git-state1.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-05 08:19:51 +0200
committerRemi Collet <remi@php.net>2026-04-05 08:19:51 +0200
commit4cfb4a225811b15af8f8af92802ce2975ff8c618 (patch)
treecd8d3eb61ba07922205f258ec14f2e8830ae0bac /php-sebastian-git-state1.spec
parentbd4c8cfe2ec9112b7e8a7319075bac1d1b3792bf (diff)
Diffstat (limited to 'php-sebastian-git-state1.spec')
-rw-r--r--php-sebastian-git-state1.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/php-sebastian-git-state1.spec b/php-sebastian-git-state1.spec
index b1e1ede..9f24cd8 100644
--- a/php-sebastian-git-state1.spec
+++ b/php-sebastian-git-state1.spec
@@ -10,11 +10,8 @@
%bcond_without tests
# Sources
-%global gh_commit 792a952e0eba55b6960a48aeceb9f371aad1f76b
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project git-state
-%global gh_date 2026-03-21
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
@@ -32,7 +29,7 @@ Summary: Describing the state of a Git checkout, version %{major}
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
# run makesrc.sh to create a git snapshot with test suite
-Source0: %{name}-%{version}-%{gh_short}.tgz
+Source0: %{name}-%{version}.tgz
Source1: makesrc.sh
@@ -67,7 +64,7 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
%prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%setup -q -n %{gh_project}-%{version}
%build
@@ -102,7 +99,8 @@ exit $ret
%files
%license LICENSE
-%doc README.md composer.json
+%doc composer.json
+%doc README.md
%dir %{php_home}/%{ns_vendor}
%{php_home}/%{ns_vendor}/%{ns_project}%{major}