diff options
author | Remi Collet <remi@remirepo.net> | 2018-04-11 09:22:32 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-04-11 09:22:32 +0200 |
commit | ef960f465781a7124196bc55dea4156593048314 (patch) | |
tree | 37ed216f5ebbc276bd473dc832b2ea76a58e23d3 /php-symfony-polyfill.spec | |
parent | 0c24c2d251ccc00862cb4a303a49e10698727318 (diff) |
add symfony/polyfill-mbstring for mb_chr, mb_ord, mb_scrub
add dependency on iconv and intl extensions
Diffstat (limited to 'php-symfony-polyfill.spec')
-rw-r--r-- | php-symfony-polyfill.spec | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/php-symfony-polyfill.spec b/php-symfony-polyfill.spec index 3bcc220..37f63f5 100644 --- a/php-symfony-polyfill.spec +++ b/php-symfony-polyfill.spec @@ -34,7 +34,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 1%{?github_release}%{?dist} +Release: 2%{?github_release}%{?dist} Summary: Symfony polyfills backporting features to lower PHP versions License: MIT @@ -53,8 +53,10 @@ BuildRequires: php-composer(ircmaxell/password-compat) < %{ircmaxell_password_c BuildRequires: php-composer(ircmaxell/password-compat) >= %{ircmaxell_password_compat_min_ver} BuildRequires: php-composer(paragonie/random_compat) < %{paragonie_random_compat_max_ver} BuildRequires: php-composer(paragonie/random_compat) >= %{paragonie_random_compat_min_ver} -## phpcompatinfo (computed from version 1.5.0) +## phpcompatinfo (computed from version 1.7.0) BuildRequires: php-hash +BuildRequires: php-iconv +BuildRequires: php-intl BuildRequires: php-json BuildRequires: php-ldap BuildRequires: php-pcre @@ -68,8 +70,10 @@ Requires: php-composer(ircmaxell/password-compat) < %{ircmaxell_password_c Requires: php-composer(ircmaxell/password-compat) >= %{ircmaxell_password_compat_min_ver} Requires: php-composer(paragonie/random_compat) < %{paragonie_random_compat_max_ver} Requires: php-composer(paragonie/random_compat) >= %{paragonie_random_compat_min_ver} -# phpcompatinfo (computed from version 1.5.0) +# phpcompatinfo (computed from version 1.7.0) Requires: php-hash +Requires: php-iconv +Requires: php-intl Requires: php-json Requires: php-pcre Requires: php-reflection @@ -79,6 +83,7 @@ Requires: php-composer(fedora/autoloader) # Composer Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} +Provides: php-composer(%{composer_vendor}/%{composer_project}-mbstring) = %{version} Provides: php-composer(%{composer_vendor}/%{composer_project}-util) = %{version} Provides: php-composer(%{composer_vendor}/%{composer_project}-php54) = %{version} Provides: php-composer(%{composer_vendor}/%{composer_project}-php55) = %{version} @@ -97,8 +102,9 @@ Autoloader: %{phpdir}/Symfony/Polyfill/autoload.php %setup -qn %{github_name}-%{github_commit} : Docs -mkdir -p docs/{Php54,Php55,Php56,Php70,Php71,Php72,Util} +mkdir -p docs/{Mbstring,Php54,Php55,Php56,Php70,Php71,Php72,Util} mv *.md composer.json docs/ +mv src/Mbstring/{*.md,composer.json} docs/Mbstring/ mv src/Php54/{*.md,composer.json} docs/Php54/ mv src/Php55/{*.md,composer.json} docs/Php55/ mv src/Php56/{*.md,composer.json} docs/Php56/ @@ -108,7 +114,7 @@ mv src/Php72/{*.md,composer.json} docs/Php72/ mv src/Util/{*.md,composer.json} docs/Util/ : Remove unneeded polyfills -rm -rf {src,tests}/{Apcu,Iconv,Intl,Mbstring,Xml} +rm -rf {src,tests}/{Apcu,Iconv,Intl,Xml} %build @@ -120,6 +126,7 @@ cat src/autoload.php cat <<'AUTOLOAD' | tee -a src/autoload.php \Fedora\Autoloader\Dependencies::required(array( + __DIR__ . '/Mbstring/bootstrap.php', __DIR__ . '/Php54/bootstrap.php', __DIR__ . '/Php55/bootstrap.php', __DIR__ . '/Php56/bootstrap.php', @@ -167,6 +174,10 @@ exit $RETURN_CODE %changelog +* Wed Apr 11 2018 Remi Collet <remi@remirepo.net> - 1.7.0-2 +- add symfony/polyfill-mbstring for mb_chr, mb_ord, mb_scrub +- add dependency on iconv and intl extensions + * Fri Mar 2 2018 Remi Collet <remi@remirepo.net> - 1.7.0-1 - Update to 1.7.0 |