summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-24 19:26:07 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-24 19:26:07 +0200
commit08a61be3a53300ada6cb2dfe119b2498e8776e99 (patch)
tree38447ebd1583c8e00eb47ff10f40b6e9ac284086 /php-bartlett-PHP-CompatInfo.spec
parent5554752a58667cf367b744334d56426b5c24fc38 (diff)
php-bartlett-PHP-CompatInfo: add upstream patch for SNMP extension
Diffstat (limited to 'php-bartlett-PHP-CompatInfo.spec')
-rw-r--r--php-bartlett-PHP-CompatInfo.spec8
1 files changed, 7 insertions, 1 deletions
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 <remi@fedoraproject.org> - 3.2.0-2
+- add upstream patch for SNMP extension
+
* Thu Jul 24 2014 Remi Collet <remi@fedoraproject.org> - 3.2.0-1
- Update to 3.2.0