[packages/php-pear-Text_Diff] - use virtual php extension deps (to be independant of php version) - release 4 (by relup.sh)
glen
glen at pld-linux.org
Wed May 14 18:49:39 CEST 2014
commit 212e306d3a72f70e11c061b96c4050d0eb230f2b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 14 19:49:37 2014 +0300
- use virtual php extension deps (to be independant of php version)
- release 4 (by relup.sh)
php-pear-Text_Diff.spec | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/php-pear-Text_Diff.spec b/php-pear-Text_Diff.spec
index 3db3aba..4c8b578 100644
--- a/php-pear-Text_Diff.spec
+++ b/php-pear-Text_Diff.spec
@@ -1,13 +1,11 @@
-%include /usr/lib/rpm/macros.php
-%define _class Text
-%define _subclass Diff
%define _status stable
-%define _pearname %{_class}_%{_subclass}
+%define _pearname Text_Diff
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - Engine for performing and rendering text diffs
Summary(pl.UTF-8): %{_pearname} - Silnik do przetwarzania i generowania różnic pomiędzy tekstami
Name: php-pear-%{_pearname}
Version: 1.1.1
-Release: 3
+Release: 4
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,7 +14,7 @@ URL: http://pear.php.net/package/Text_Diff/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php-common >= 3:4.2.0
+Requires: php(core) >= 4.2.0
Requires: php-pear
Suggests: php-pecl-xdiff
Obsoletes: php-pear-Text_Diff-tests
@@ -57,5 +55,5 @@ fi
%doc optional-packages.txt
%doc docs/%{_pearname}/docs/*
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/Text/*.php
+%{php_pear_dir}/Text/Diff
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Text_Diff.git/commitdiff/212e306d3a72f70e11c061b96c4050d0eb230f2b
More information about the pld-cvs-commit
mailing list