From 46a84e5c65db97e7bf452d398554e49178c8d026 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Jun 2023 14:12:48 +0200 Subject: update to 4.0.1 (no change) --- makesrc.sh | 2 +- php-sebastian-version4.spec | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/makesrc.sh b/makesrc.sh index 3580b58..b63da92 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -3,7 +3,7 @@ NAME=$(basename $PWD) OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) -VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec) COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) SHORT=${COMMIT:0:7} 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 - 4.0.1-1 +- update to 4.0.1 (no change) + * Fri Feb 3 2023 Remi Collet - 4.0.0-1 - update to 4.0.0 - raise dependency on PHP 8.1 -- cgit