summaryrefslogtreecommitdiffstats
path: root/php-sebastian-version4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sebastian-version4.spec')
-rw-r--r--php-sebastian-version4.spec18
1 files changed, 11 insertions, 7 deletions
diff --git a/php-sebastian-version4.spec b/php-sebastian-version4.spec
index 960869c..2c969f0 100644
--- a/php-sebastian-version4.spec
+++ b/php-sebastian-version4.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 5facf5a20311ac44f79221274cdeb6c569ca11dd
+%global gh_commit c51fa83a5d8f43f1402e3f32a005e6262244ef17
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project version
@@ -19,18 +19,15 @@
%global ver_major 4
%global php_home %{_datadir}/php
-%global upstream_version 4.0.0
-#global gh_date 20210216
-#global upstream_prever dev
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist}
+Version: 4.0.1
+Release: 1%{?dist}
Summary: Managing the version number of Git-hosted PHP projects, version %{ver_major}
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
-Source0: %{name}-%{upstream_version}-%{gh_short}.tgz
+Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
BuildArch: noarch
@@ -52,6 +49,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
Library that helps with managing the version number
of Git-hosted PHP projects.
+This package provides version %{ver_major} of %{pk_vendor}/%{pk_project} library.
+
+Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php
+
%prep
%setup -q -n %{gh_project}-%{gh_commit}
@@ -87,6 +88,9 @@ exit (class_exists("%{ns_vendor}\\%{ns_project}") ? 0 : 1);
%changelog
+* Tue Jun 6 2023 Remi Collet <remi@remirepo.net> - 4.0.1-1
+- update to 4.0.1 (no change)
+
* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 4.0.0-1
- update to 4.0.0
- raise dependency on PHP 8.1