From 08a61be3a53300ada6cb2dfe119b2498e8776e99 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 24 Jul 2014 19:26:07 +0200 Subject: php-bartlett-PHP-CompatInfo: add upstream patch for SNMP extension --- php-bartlett-PHP-CompatInfo.spec | 8 +++++++- 1 file changed, 7 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 d52a24c..78af702 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -13,7 +13,8 @@ Name: php-bartlett-PHP-CompatInfo Version: 3.2.0 -Release: %{?gh_short:0.1.git%{gh_short}}%{!?gh_short:1}%{?dist} +%global specrel 2 +Release: %{?gh_short:0.%{specrel}.git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist} Summary: Find out version and the extensions required for a piece of code to run Group: Development/Libraries @@ -23,6 +24,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit # Autoloader for RPM - die composer ! Patch0: %{name}-rpm.patch +Patch1: %{name}-upstream.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -77,6 +79,7 @@ Documentation: http://php5.laurent-laville.org/compatinfo/manual/3.2/en/ %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm +%patch1 -p1 -b .git sed -e 's/@package_version@/%{version}/' \ -i $(find src -name \*.php) @@ -133,6 +136,9 @@ fi %changelog +* Thu Jul 24 2014 Remi Collet - 3.2.0-2 +- add upstream patch for SNMP extension + * Thu Jul 24 2014 Remi Collet - 3.2.0-1 - Update to 3.2.0 -- cgit