From 4a82ea58be4f99392c65777d96e7297d16f64fbc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Oct 2015 06:58:50 +0200 Subject: php-bartlett-PHP-CompatInfo: add upstream patch for missing extensions --- php-bartlett-PHP-CompatInfo.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'php-bartlett-PHP-CompatInfo.spec') diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index d9f6949..91e5eaa 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -17,7 +17,7 @@ Name: php-bartlett-PHP-CompatInfo Version: 4.5.0 -%global specrel 1 +%global specrel 2 Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Find out version and the extensions required for a piece of code to run @@ -35,6 +35,10 @@ Source2: %{name}-autoload.php # Autoload and sqlite database path Patch0: %{name}-4.5.0-rpm.patch +# Upstream patch for missing extensions +# https://github.com/llaville/php-compat-info/issues/210 +Patch1: %{name}-upstream.patch + BuildArch: noarch BuildRequires: php(language) >= 5.3.2 %if %{with_tests} @@ -107,6 +111,7 @@ Documentation: http://php5.laurent-laville.org/compatinfo/manual/current/en/ #setup -q -n %{gh_project}-%{version} %patch0 -p1 -b .rpm +%patch1 -p1 cp %{SOURCE2} src/Bartlett/CompatInfo/autoload.php # Cleanup patched files @@ -170,6 +175,10 @@ fi %changelog +* Thu Oct 8 2015 Remi Collet - 4.5.0-2 +- add upstream patch for missing extensions + https://github.com/llaville/php-compat-info/issues/210 + * Tue Oct 6 2015 Remi Collet - 4.5.0-1 - update to 4.5.0 -- cgit