update to 3.0.2
sources from git snapshot
This commit is contained in:
parent
05f4dfaa39
commit
a3fe4f3bd9
4 changed files with 38 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/php-phpunit-php-file-iterator3-3.0.0-354d4a5.tar.gz
|
||||
/php-phpunit-php-file-iterator3-3.0.1-4ac5b3e.tar.gz
|
||||
/php-phpunit-php-file-iterator3-3.0.2-eba15e5.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_owner/{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."
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
# Please, preserve the changelog entries
|
||||
#
|
||||
%global bootstrap 0
|
||||
%global gh_commit 4ac5b3e13df14829daa60a2eb4fdd2f2b7d33cf4
|
||||
%global gh_commit eba15e538f2bb3fe018b7bbb47d2fe32d404bfd2
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project php-file-iterator
|
||||
|
|
@ -28,13 +28,14 @@
|
|||
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||
Version: 3.0.1
|
||||
Version: 3.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: FilterIterator implementation that filters files based on a list of suffixes
|
||||
|
||||
License: BSD
|
||||
URL: https://github.com/%{gh_owner}/%{gh_project}
|
||||
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
|
||||
Source0: %{name}-%{version}-%{gh_short}.tgz
|
||||
Source1: makesrc.sh
|
||||
|
||||
BuildArch: noarch
|
||||
%if %{with_tests}
|
||||
|
|
@ -106,6 +107,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 16 2020 Remi Collet <remi@remirepo.net> - 3.0.2-1
|
||||
- update to 3.0.2
|
||||
- sources from git snapshot
|
||||
|
||||
* Sat Apr 18 2020 Remi Collet <remi@remirepo.net> - 3.0.1-1
|
||||
- update to 3.0.1
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpunit-php-file-iterator3-3.0.1-4ac5b3e.tar.gz) = c0b61d13d2a6492da83ffdbbf43cb5800f2d83f3e59fbf891039c4ce75d04994a6d0b46dfc7477294035138c2cd21f3eb2ec5de24042df2c4bac2eb3a9541eec
|
||||
SHA512 (php-phpunit-php-file-iterator3-3.0.2-eba15e5.tgz) = 49977b10977ea7df148461084408ca53a0c704136daf06d6e8be8c08f8fb3ac7d4bfeaea56955dcbf4e8952157f4e2f11868ca0609eabb62acda7973ed1c268d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue