summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-version.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-sebastian-version.spec b/php-sebastian-version.spec
index d058bf6..0fd49ad 100644
--- a/php-sebastian-version.spec
+++ b/php-sebastian-version.spec
@@ -1,4 +1,4 @@
-# remirepo/fedora spec file for php-sebastian-version5
+# remirepo/fedora spec file for php-sebastian-version
#
# Copyright (c) 2013-2024 Remi Collet
# License: CC-BY-SA-4.0
@@ -20,7 +20,7 @@
%global ver_major 5
%global php_home %{_datadir}/php
-Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
+Name: php-%{pk_vendor}-%{pk_project}
Version: 5.0.1
Release: 1%{?dist}
Summary: Managing the version number of Git-hosted PHP projects, version %{ver_major}
@@ -36,6 +36,10 @@ BuildRequires: php(language) >= 8.2
BuildRequires: php-cli
BuildRequires: php-fedora-autoloader-devel
+# remirepo:3
+# Package was renamed
+Obsoletes: php-%{pk_vendor}-%{pk_project}%{ver_major} <= %{version}
+
# From composer.json, "require": {
# "php": ">=8.2"
Requires: php(language) >= 8.2
@@ -87,6 +91,9 @@ exit (class_exists("%{ns_vendor}\\%{ns_project}") ? 0 : 1);
%changelog
+* Tue Sep 3 2024 Remi Collet <remi@remirepo.net> - 5.0.1-1
+- rename to php-sebastian-version
+
* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 5.0.1-1
- update to 5.0.1