diff options
author | Remi Collet <remi@remirepo.net> | 2019-09-13 15:47:47 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-09-13 15:47:47 +0200 |
commit | ad9c356019c290cedd0112fd2aec576249d9375e (patch) | |
tree | 9b1018bf83e9584650bd74d544cf80fc0d452492 /php-scssphp.spec | |
parent | 1d20fc1f6533bc195083ba4b34cdb33223575f14 (diff) |
- add patch for PHP 7.4 from
https://github.com/leafo/scssphp/pull/710
Diffstat (limited to 'php-scssphp.spec')
-rw-r--r-- | php-scssphp.spec | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/php-scssphp.spec b/php-scssphp.spec index a92b03d..f09d120 100644 --- a/php-scssphp.spec +++ b/php-scssphp.spec @@ -14,14 +14,14 @@ %global github_owner leafo %global github_name scssphp -%global github_version 0.8.3 -%global github_commit 2f88bb86b67883b2cb4598a9793679326dc1d3f2 +%global github_version 0.8.4 +%global github_commit b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9 %global composer_vendor leafo %global composer_project scssphp -# "php": "^5.6.0 || ^7" -%global php_min_ver 5.6.0 +# "php": "^5.4.0 || ^7" +%global php_min_ver 5.4.0 # Build using "--without tests" to disable tests %global with_tests 0%{!?_without_tests:1} @@ -40,6 +40,8 @@ URL: http://leafo.github.io/scssphp Source0: %{name}-%{github_version}-%{github_commit}.tar.gz Source1: %{name}-get-source.sh +Patch0: https://patch-diff.githubusercontent.com/raw/leafo/scssphp/pull/710.patch + BuildArch: noarch # Library version check BuildRequires: php-cli @@ -95,6 +97,7 @@ Autoloader: %{phpdir}/Leafo/ScssPhp/autoload.php %prep %setup -qn %{github_name}-%{github_commit} +%patch0 -p1 : Adjust bin autoload require sed "/scss.inc.php/s#.*#require_once '%{phpdir}/Leafo/ScssPhp/autoload.php';#" \ @@ -168,6 +171,11 @@ exit $RETURN_CODE %changelog +* Fri Sep 13 2019 Remi Collet <remi@remirepo.net> - 0.8.4-1 +- update to 0.8.4 +- add patch for PHP 7.4 from + https://github.com/leafo/scssphp/pull/710 + * Mon Jun 03 2019 Shawn Iwinski <shawn.iwinski@gmail.com> - 0.8.3-1 - Update to 0.8.3 (RHBZ #1716011) |