diff options
| -rw-r--r-- | composer-diff.json | 41 | ||||
| -rwxr-xr-x | makesrc.sh | 4 | ||||
| -rw-r--r-- | php-cs-fixer.spec | 9 | 
3 files changed, 9 insertions, 45 deletions
| diff --git a/composer-diff.json b/composer-diff.json deleted file mode 100644 index 2c4b3ad..0000000 --- a/composer-diff.json +++ /dev/null @@ -1,41 +0,0 @@ -{ -    "name": "php-cs-fixer/diff", -    "description": "sebastian/diff v2 backport support for PHP5.6", -    "keywords": ["diff"], -    "homepage": "https://github.com/PHP-CS-Fixer", -    "license": "BSD-3-Clause", -    "authors": [ -        { -            "name": "Sebastian Bergmann", -            "email": "sebastian@phpunit.de" -        }, -        { -            "name": "Kore Nordmann", -            "email": "mail@kore-nordmann.de" -        }, -        { -            "name": "SpacePossum" -        } -    ], -    "require": { -        "php": "^5.6 || ^7.0 || ^8.0" -    }, -    "require-dev": { -        "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", -        "symfony/process": "^3.3" -    }, -    "autoload": { -        "classmap": [ -            "src/" -        ] -    }, -    "autoload-dev": { -        "psr-4": { -            "PhpCsFixer\\Diff\\v1_4\\Tests\\": "tests/v1_4", -            "PhpCsFixer\\Diff\\v2_0\\Tests\\": "tests/v2_0", -            "PhpCsFixer\\Diff\\v3_0\\": "tests/v3_0", -            "PhpCsFixer\\Diff\\GeckoPackages\\DiffOutputBuilder\\Tests\\": "tests/GeckoPackages/DiffOutputBuilder/Tests", -            "PhpCsFixer\\Diff\\GeckoPackages\\DiffOutputBuilder\\Utils\\": "tests/GeckoPackages/DiffOutputBuilder/Utils" -        } -    } -} @@ -8,13 +8,15 @@ VERSION=$(sed -n '/^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) +  if [ -f $NAME-$VERSION-$SHORT.tgz ]; then  	echo "Skip $NAME-$VERSION-$SHORT.tgz"  else  	echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION, Commit=$COMMIT, Date=$DATE\n"  	echo "Cloning..." -	git clone --shallow-since=$DATE  https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit1 +	git clone --shallow-since=$DATE  https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1  	echo "Getting commit..."  	pushd $PROJECT-$COMMIT diff --git a/php-cs-fixer.spec b/php-cs-fixer.spec index c3900c2..e4cf8e9 100644 --- a/php-cs-fixer.spec +++ b/php-cs-fixer.spec @@ -10,14 +10,14 @@  # For compatibility with SCL  %undefine __brp_mangle_shebangs -%global gh_commit    a92472c6fb66349de25211f31c77eceae3df024e +%global gh_commit    8742f7aa6f72a399688b65e4f58992c2d4681fc2  %global gh_short     %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_date      2024-01-19 +%global gh_date      2024-02-02  %global gh_owner     FriendsOfPHP  %global gh_project   PHP-CS-Fixer  Name:           php-cs-fixer -Version:        3.48.0 +Version:        3.49.0  Release:        1%{?dist}  Summary:        PHP Coding Standards Fixer @@ -150,6 +150,9 @@ PHP_CS_FIXER_IGNORE_ENV=1 ./%{name} --version | grep %{version}  %changelog +* Mon Feb  5 2024 Remi Collet <remi@remirepo.net> - 3.49.0-1 +- update to 3.49.0 +  * Mon Jan 22 2024 Remi Collet <remi@remirepo.net> - 3.48.0-1  - update to 3.48.0 | 
