From: Elan Ruusamäe Date: Wed, 21 May 2014 22:34:58 +0000 (+0300) Subject: use virtual names for php deps X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=dab40818bddea1a6a7c65835bd2ec7c9b23437fd;p=packages%2Fphp-phpquery.git use virtual names for php deps --- diff --git a/php-phpquery.spec b/php-phpquery.spec index 483f60c..819fd82 100644 --- a/php-phpquery.spec +++ b/php-phpquery.spec @@ -15,14 +15,14 @@ Patch2: cli.patch URL: https://code.google.com/p/phpquery/ BuildRequires: rpm-php-pearprov >= 4.4.2-11 BuildRequires: rpmbuild(macros) >= 1.610 -BuildRequires: unzip BuildRequires: sed >= 4.0 -Requires: php-common >= 4:%{php_min_version} -Requires: php-date -Requires: php-dom -Requires: php-json -Requires: php-mbstring -Requires: php-pcre +BuildRequires: unzip +Requires: php(core) >= %{php_min_version} +Requires: php(date) +Requires: php(dom) +Requires: php(json) +Requires: php(mbstring) +Requires: php(pcre) Requires: php-pear BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)