summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-16 13:38:06 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-16 13:38:06 +0100
commit5cd73321debc2b4e4dd4004342c763b52861b647 (patch)
tree271f6669b06c7d546b169fb304e7df6b0c561c87
parent3fc84707b45cfec1ea1264ad394739d1b5325801 (diff)
php-true-punycode: 2.1.1
-rw-r--r--composer.json4
-rw-r--r--php-true-punycode.spec19
2 files changed, 15 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index 63adea9..5b2815a 100644
--- a/composer.json
+++ b/composer.json
@@ -16,8 +16,8 @@
}
},
"require": {
- "php": ">=5.3.0",
- "ext-mbstring": "*"
+ "symfony/polyfill-mbstring": "^1.3",
+ "php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "~4.7",
diff --git a/php-true-punycode.spec b/php-true-punycode.spec
index 394b8ba..e2aca27 100644
--- a/php-true-punycode.spec
+++ b/php-true-punycode.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 74033cbe9fdd3eba597f8af501947a125b3b8087
+%global gh_commit a4d0c11a36dd7f4e7cd7096076cab6d3378a071e
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner true
%global gh_project php-punycode
@@ -15,7 +15,7 @@
# Notice: single file / class, so no need to provide an autoloader for now
Name: php-true-punycode
-Version: 2.1.0
+Version: 2.1.1
Release: 1%{?dist}
Summary: A Bootstring encoding of Unicode for IDNA
@@ -30,13 +30,16 @@ BuildArch: noarch
BuildRequires: php(language) >= 5.3
BuildRequires: php-mbstring
BuildRequires: %{_bindir}/phpunit
-BuildRequires: %{_bindir}/phpab
+BuildRequires: php-fedora-autoloader-devel
# From composer.json
-# "php": ">=5.3.0"
-# "ext-mbstring": "*"
+# "symfony/polyfill-mbstring": "^1.3",
+# "php": ">=5.3.0"
Requires: php(language) >= 5.3
+# Simpler, and we don't have symfony/polyfill-mbstring
Requires: php-mbstring
+# Autoloader
+Requires: php-composer(fedora/autoloader)
Provides: php-composer(true/punycode) = %{version}
@@ -54,7 +57,7 @@ Autoloader: %{_datadir}/php/TrueBV/autoload.php
%build
: Generate a classmap autoloader
-%{_bindir}/phpab --output src/autoload.php src
+%{_bindir}/phpab --template fedora --output src/autoload.php src
%install
@@ -104,6 +107,10 @@ rm -rf %{buildroot}
%changelog
+* Wed Nov 16 2016 Remi Collet <remi@fedoraproject.org> - 2.1.1-1
+- update to 2.1.1 (no change)
+- switch to fedora/autoloader
+
* Wed Aug 10 2016 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
- update to 2.1.0
- add autoloader