update to 9.1.5
sources from git snapshot
(cherry picked from commit 1e0211c6c7)
This commit is contained in:
parent
977519f810
commit
2edee26b49
4 changed files with 38 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
|||
/phpunit9-9.0.2-c0ecbfb.tar.gz
|
||||
/phpunit9-9.1.3-a747804.tar.gz
|
||||
/phpunit9-9.1.4-2d7080c.tar.gz
|
||||
/phpunit9-9.1.5-1b570cd.tgz
|
||||
|
|
|
|||
28
makesrc.sh
Executable file
28
makesrc.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
NAME=$(basename $PWD)
|
||||
OWNER=$(sed -n '/^%global gh_vendor/{s/.* //;p}' $NAME.spec)
|
||||
PROJECT=$(sed -n '/^%global gh_project/{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}
|
||||
|
||||
echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n"
|
||||
|
||||
echo "Cloning..."
|
||||
rm -rf $PROJECT-$COMMIT
|
||||
git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT
|
||||
|
||||
echo "Getting commit..."
|
||||
pushd $PROJECT-$COMMIT
|
||||
git checkout $COMMIT
|
||||
cp composer.json ../composer.json
|
||||
popd
|
||||
|
||||
echo "Archiving..."
|
||||
tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs --exclude tools $PROJECT-$COMMIT
|
||||
|
||||
echo "Cleaning..."
|
||||
rm -rf $PROJECT-$COMMIT
|
||||
|
||||
echo "Done."
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
# For compatibility with SCL
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
%global gh_commit 2d7080c622cf7884992e7c3cf87853877bae8ff4
|
||||
%global gh_commit 1b570cd7edbe136055bf5f651857dc8af6b829d2
|
||||
#global gh_date 20150927
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_vendor sebastianbergmann
|
||||
|
|
@ -24,17 +24,17 @@
|
|||
%global php_home %{_datadir}/php
|
||||
%global ver_major 9
|
||||
%global ver_minor 1
|
||||
%global ver_patch 4
|
||||
%global specrel 1
|
||||
|
||||
Name: %{pk_project}%{ver_major}
|
||||
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
|
||||
Version: 9.1.5
|
||||
Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
|
||||
Summary: The PHP Unit Testing framework version %{ver_major}
|
||||
|
||||
License: BSD
|
||||
URL: https://github.com/%{gh_vendor}/%{gh_project}
|
||||
Source0: https://github.com/%{gh_vendor}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
|
||||
Source0: %{name}-%{version}-%{gh_short}.tgz
|
||||
Source1: makesrc.sh
|
||||
|
||||
# Fix command for autoload
|
||||
Patch0: %{name}-rpm.patch
|
||||
|
|
@ -244,6 +244,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat May 23 2020 Remi Collet <remi@remirepo.net> - 9.1.5-1
|
||||
- update to 9.1.5
|
||||
- sources from git snapshot
|
||||
|
||||
* Thu Apr 30 2020 Remi Collet <remi@remirepo.net> - 9.1.4-1
|
||||
- update to 9.1.4
|
||||
- raise dependency on sebastian/code-unit 1.0.2
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (phpunit9-9.1.4-2d7080c.tar.gz) = 82466806e42639318db1b93b71eceb4185d5f9570df8bf984635abf618c558b77a02d18f75fca41b624e3a547e0d3abcf63c115dcccb1c2d000f7608f22531ba
|
||||
SHA512 (phpunit9-9.1.5-1b570cd.tgz) = e7c8977f4de232e59256d7d618b1141abb9d4bdc494394ecfdd0de2acb78b2fc1a05225db332a0bdbef1bd9f7227a1ab252e9a448ac712f318e87631b1158f19
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue