summaryrefslogtreecommitdiffstats
path: root/php-sebastian-diff6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sebastian-diff6.spec')
-rw-r--r--php-sebastian-diff6.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-sebastian-diff6.spec b/php-sebastian-diff6.spec
index 9ea6763..3dbc7f1 100644
--- a/php-sebastian-diff6.spec
+++ b/php-sebastian-diff6.spec
@@ -10,11 +10,11 @@
# disabled until phpunit11 available
%bcond_with tests
-%global gh_commit ab83243ecc233de5655b76f577711de9f842e712
+%global gh_commit b4ccd857127db5d41a5b676f24b51371d76d8544
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project diff
-%global gh_date 2024-03-02
+%global gh_date 2024-07-03
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
@@ -26,12 +26,13 @@
%global php_home %{_datadir}/php
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 6.0.1
+Version: 6.0.2
Release: 1%{?dist}
Summary: Diff implementation, 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
Source1: makesrc.sh
# php-symfony4 going to disapear, php-symfony5 not available, only used for tests
@@ -89,13 +90,6 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}
mkdir vendor
%{_bindir}/phpab --output vendor/autoload.php tests process-%{symfony_version}
-# remirepo:5
-%if 0%{?rhel} == 7
-: Ignore tests using git command: unknown option 'unsafe-paths' with old git
-rm -r tests/Output/Integration
-rm tests/Utils/UnifiedDiffAssertTraitIntegrationTest.php
-%endif
-
: Run upstream test suite
ret=0
for cmd in php php82 php83; do
@@ -111,7 +105,6 @@ exit $ret
%files
-# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc composer.json
@@ -121,6 +114,9 @@ exit $ret
%changelog
+* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 6.0.2-1
+- update to 6.0.2
+
* Tue Mar 5 2024 Remi Collet <remi@remirepo.net> - 6.0.1-1
- update to 6.0.1