[packages/php-sebastian-diff: 2/2] php deps
glen
glen at pld-linux.org
Sat Feb 6 14:32:37 CET 2016
commit 63e9440c72daf0af9f61754d915738cc4a6f2be2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Feb 6 15:32:21 2016 +0200
php deps
php-sebastian-diff.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/php-sebastian-diff.spec b/php-sebastian-diff.spec
index 13a96a6..5d2a19f 100644
--- a/php-sebastian-diff.spec
+++ b/php-sebastian-diff.spec
@@ -1,5 +1,6 @@
%define pkgname diff
%define php_min_version 5.3.3
+%include /usr/lib/rpm/macros.php
Summary: Diff implementation for PHP
Name: php-sebastian-%{pkgname}
Version: 1.1.0
@@ -9,7 +10,11 @@ Group: Development/Libraries
Source0: https://github.com/sebastianbergmann/diff/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 61b8db69978590e046d31586dff73997
URL: https://github.com/sebastianbergmann/diff
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.553
Requires: php(core) >= %{php_min_version}
+Requires: php(pcre)
+Requires: php(spl)
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-sebastian-diff.git/commitdiff/63e9440c72daf0af9f61754d915738cc4a6f2be2
More information about the pld-cvs-commit
mailing list