summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-06-03 12:32:29 +0200
committerRemi Collet <remi@remirepo.net>2020-06-03 12:32:29 +0200
commit44ebeb70db8712ef169741970e3c93b09796ae53 (patch)
treefbb2077ba955fd6f21286648ae1cee2e8706427f
parentbbee86a7266658a92892e5a703240ee2c4523be1 (diff)
update to 3.0.0
rename to php-composer-semver3 install in /usr/share/php/Composer/Semver3
-rw-r--r--composer.json8
-rw-r--r--php-composer-semver3.spec19
2 files changed, 16 insertions, 11 deletions
diff --git a/composer.json b/composer.json
index f313f4d..117b78e 100644
--- a/composer.json
+++ b/composer.json
@@ -31,10 +31,10 @@
"issues": "https://github.com/composer/semver/issues"
},
"require": {
- "php": "^5.3.2 || ^7.0"
+ "php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.5 || ^5.0.5 || ^7",
+ "symfony/phpunit-bridge": "^4.2 || ^5",
"phpstan/phpstan": "^0.12.19"
},
"autoload": {
@@ -49,10 +49,10 @@
},
"extra": {
"branch-alias": {
- "dev-master": "2.x-dev"
+ "dev-master": "3.x-dev"
}
},
"scripts": {
- "test": "phpunit"
+ "test": "vendor/bin/simple-phpunit"
}
}
diff --git a/php-composer-semver3.spec b/php-composer-semver3.spec
index c32554b..a5c3c43 100644
--- a/php-composer-semver3.spec
+++ b/php-composer-semver3.spec
@@ -1,4 +1,4 @@
-# remirepo/fedora spec file for php-composer-semver2
+# remirepo/fedora spec file for php-composer-semver3
#
# Copyright (c) 2015-2020 Remi Collet
# License: CC-BY-SA
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 0ec124f57c7e23925c006cbad0de853e3aec3ba2
+%global gh_commit 3426bd5efa8a12d230824536c42a8a4ad30b7940
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20150717
%global gh_owner composer
@@ -14,11 +14,11 @@
%global ns_vendor Composer
%global ns_project Semver
%global php_home %{_datadir}/php
-%global major 2
+%global major 3
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_owner}-%{gh_project}%{major}
-Version: 2.0.0
+Version: 3.0.0
Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}
Summary: Semver library version %{major}
@@ -36,7 +36,7 @@ BuildRequires: php(language) >= 7.1
BuildRequires: php-pcre
BuildRequires: php-spl
# From composer.json, "require-dev": {
-# "phpunit/phpunit": "^4.5 || ^5.0.5 || ^7",
+# "symfony/phpunit-bridge": "^4.2 || ^5",
# "phpstan/phpstan": "^0.12.19"
BuildRequires: phpunit7
# Autoloader
@@ -44,9 +44,9 @@ BuildRequires: php-fedora-autoloader-devel
%endif
# From composer.json, "require": {
-# "php": "^5.3.2 || ^7.0",
+# "php": "^5.3.2 || ^7.0 || ^8.0",
Requires: php(language) >= 5.3.2
-# From phpcompatinfo report for version 2.0.0
+# From phpcompatinfo report for version 3.0.0
Requires: php-pcre
Requires: php-spl
# Autoloader
@@ -107,6 +107,11 @@ exit $ret
%changelog
+* Wed Jun 3 2020 Remi Collet <remi@remirepo.net> - 3.0.0-1
+- update to 3.0.0
+- rename to php-composer-semver3
+- install in /usr/share/php/Composer/Semver3
+
* Wed Apr 22 2020 Remi Collet <remi@remirepo.net> - 2.0.0-1
- update to 2.0.0
- rename to php-composer-semver2