From 14ff889d735daa2c6c4228affa42684a53791830 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 May 2019 10:40:42 +0200 Subject: v0.8.2 from Fedora --- composer.json | 4 +++- makesrc.sh | 1 + php-scssphp.spec | 25 ++++++++++++++++++------- 3 files changed, 22 insertions(+), 8 deletions(-) create mode 120000 makesrc.sh diff --git a/composer.json b/composer.json index 95118a3..7591662 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,9 @@ }, "require-dev": { "squizlabs/php_codesniffer": "~2.5", - "phpunit/phpunit": "~4.6" + "phpunit/phpunit": "~4.6", + "twbs/bootstrap": "~4.3", + "zurb/foundation": "~6.5" }, "bin": ["bin/pscss"], "archive": { diff --git a/makesrc.sh b/makesrc.sh new file mode 120000 index 0000000..61372f3 --- /dev/null +++ b/makesrc.sh @@ -0,0 +1 @@ +php-scssphp-get-source.sh \ No newline at end of file diff --git a/php-scssphp.spec b/php-scssphp.spec index b74d2f8..36d6748 100644 --- a/php-scssphp.spec +++ b/php-scssphp.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-scssphp # -# Copyright (c) 2012-2018 Shawn Iwinski +# Copyright (c) 2012-2019 Shawn Iwinski # Remi Collet # Christian Glombek # @@ -14,8 +14,8 @@ %global github_owner leafo %global github_name scssphp -%global github_version 0.7.7 -%global github_commit 1d656f8c02a3a69404bba6b28ec4e06edddf0f49 +%global github_version 0.8.2 +%global github_commit 1b168bfee60889547e1fe55b9afdf055f6d3c58d %global composer_vendor leafo %global composer_project scssphp @@ -48,12 +48,13 @@ BuildRequires: php-cli ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-composer(phpunit/phpunit) - -## phpcompatinfo (computed from version 0.7.5) +## phpcompatinfo (computed from version 0.8.2) BuildRequires: php-ctype +BuildRequires: php-date BuildRequires: php-json BuildRequires: php-mbstring BuildRequires: php-pcre +BuildRequires: php-spl ## Autoloader BuildRequires: php-composer(fedora/autoloader) %endif @@ -61,11 +62,12 @@ BuildRequires: php-composer(fedora/autoloader) Requires: php-cli # composer.json Requires: php(language) >= %{php_min_ver} -# phpcompatinfo (computed from version 0.7.5) +# phpcompatinfo (computed from version 0.8.2) Requires: php-ctype Requires: php-json Requires: php-mbstring Requires: php-pcre +Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) @@ -134,10 +136,16 @@ install -pm 0755 bin/pscss %{buildroot}%{_bindir}/ exit(version_compare("%{version}", "$version", "=") ? 0 : 1); ' +: Skip tests requiring non-resolved dependencies +rm -f tests/FrameworkTest.php + +: Skip flapping/flakey test +sed '/2147483647/d' -i tests/Base64VLQTest.php + %if %{with_tests} RETURN_CODE=0 PHPUNIT=$(which phpunit) -for PHP_EXEC in "" %{?rhel:php55 php56} php70 php71 php72 php73 +for PHP_EXEC in "" %{?rhel:php55 php56 php70} php71 php72 php73 do if [ -z "$PHP_EXEC" ] || which $PHP_EXEC then @@ -162,6 +170,9 @@ exit $RETURN_CODE %changelog +* Fri May 10 2019 Shawn Iwinski - 0.8.2-1 +- Update to 0.8.2 (RHBZ #1703256) + * Fri Dec 21 2018 Remi Collet - 0.7.7-1 - update to 0.7.7 -- cgit