|
|
@ -1,6 +1,6 @@
|
|
|
|
# spec file for php-pear-PHP-CodeSniffer
|
|
|
|
# spec file for php-pear-PHP-CodeSniffer
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2013-2020 Remi Collet
|
|
|
|
# Copyright (c) 2013-2021 Remi Collet
|
|
|
|
# Copyright (c) 2009-2013 Christof Damian
|
|
|
|
# Copyright (c) 2009-2013 Christof Damian
|
|
|
|
# Copyright (c) 2006-2009 Konstantin Ryabitsev
|
|
|
|
# Copyright (c) 2006-2009 Konstantin Ryabitsev
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -89,6 +89,11 @@ cd %{pear_name}-%{version}
|
|
|
|
# fails with js: Couldn't read source file
|
|
|
|
# fails with js: Couldn't read source file
|
|
|
|
rm src/Standards/Generic/Tests/Debug/JSHintUnitTest.*
|
|
|
|
rm src/Standards/Generic/Tests/Debug/JSHintUnitTest.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fix current date
|
|
|
|
|
|
|
|
YEAR=$(date +%Y)
|
|
|
|
|
|
|
|
sed -e "/@copyright/s/2020/${YEAR}/" \
|
|
|
|
|
|
|
|
-i src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.*.fixed
|
|
|
|
|
|
|
|
|
|
|
|
# Version 3.4.0: Tests: 364, Assertions: 419, Skipped: 3.
|
|
|
|
# Version 3.4.0: Tests: 364, Assertions: 419, Skipped: 3.
|
|
|
|
ret=0
|
|
|
|
ret=0
|
|
|
|
# TODO php80
|
|
|
|
# TODO php80
|
|
|
@ -124,6 +129,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Feb 5 2021 Remi Collet <remi@remirepo.net> - 3.5.8-2
|
|
|
|
|
|
|
|
- fix test relying on current year, fix FTBFS #1923570
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.8-2
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|