summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-04-07 08:21:02 +0200
committerRemi Collet <remi@php.net>2024-04-07 08:21:02 +0200
commit9aac1e498f51ef8b6a519fe27d02e9844c07253d (patch)
tree62212296600818c89f830659fa0a44dc29e771ca
parent43a2fc6f829c67c97d71b56cd8a50a8b0a4a078a (diff)
update to 11.1.1
-rwxr-xr-xmakesrc.sh6
-rw-r--r--phpunit11.spec9
2 files changed, 9 insertions, 6 deletions
diff --git a/makesrc.sh b/makesrc.sh
index 45fea74..f99ef28 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -8,7 +8,7 @@ VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec)
COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec)
SHORT=${COMMIT:0:7}
-DATE=$(date -d "$DATE -4 days" +%Y-%m-%d)
+DATE=$(date -d "$DATE -5 days" +%Y-%m-%d)
if [ -f $NAME-$VERSION-$SHORT.tgz ]; then
echo "$NAME-$VERSION-$SHORT.tgz already there"
@@ -17,11 +17,11 @@ else
echo "Cloning..."
rm -rf $PROJECT-$COMMIT
- git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
+ git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
echo "Getting commit..."
pushd $PROJECT-$COMMIT
- git checkout $COMMIT || exit1
+ git checkout $COMMIT || exit 1
cp composer.json ../composer.json
popd
diff --git a/phpunit11.spec b/phpunit11.spec
index e5cc6bc..dce4804 100644
--- a/phpunit11.spec
+++ b/phpunit11.spec
@@ -20,8 +20,8 @@
%bcond_with defcmd
%endif
-%global gh_commit 882c5bf7aa85328d1010da2a76f4bb10c43778c6
-%global gh_date 2024-04-05
+%global gh_commit 816cb6070af901c0548aa5f18f2132fd8a6e4ade
+%global gh_date 2024-04-06
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpunit
@@ -34,7 +34,7 @@
%global ver_major 11
%global ver_minor 1
-%global upstream_version 11.1.0
+%global upstream_version 11.1.1
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@@ -314,6 +314,9 @@ exit $ret
%changelog
+* Sun Apr 7 2024 Remi Collet <remi@remirepo.net> - 11.1.1-1
+- update to 11.1.1
+
* Fri Apr 5 2024 Remi Collet <remi@remirepo.net> - 11.1.0-1
- update to 11.1.0