[packages/php-pecl-pdflib] use php(core) as dependency to require php version

glen glen at pld-linux.org
Fri Aug 24 00:08:09 CEST 2012


commit af7bb5b8eccd51dd0a739a6049e54c8bb036d3f9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 24 01:07:42 2012 +0300

    use php(core) as dependency to require php version

 php-pecl-pdflib.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-pecl-pdflib.spec b/php-pecl-pdflib.spec
index be8ffa1..e583967 100644
--- a/php-pecl-pdflib.spec
+++ b/php-pecl-pdflib.spec
@@ -19,9 +19,9 @@ BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	rpmbuild(macros) >= 1.344
 BuildRequires:	zlib-devel
 %{?requires_php_extension}
-Requires:	php-common >= 4:5.0.4
-Obsoletes:	php-pear-%{modname}
+Requires:	php(core) >= 5.0.4
 Obsoletes:	php-pdf < 3:5.0.0
+Obsoletes:	php-pear-%{modname}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description


More information about the pld-cvs-commit mailing list