[packages/php-pear-Text_Huffman] - use virtual php extension deps (to be independant of php version) - release 7 (by relup.sh)
glen
glen at pld-linux.org
Wed May 14 18:49:52 CEST 2014
commit 71ef064bc5a73cb2bb82f112e3ff22e3b04f9e4f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 14 19:49:51 2014 +0300
- use virtual php extension deps (to be independant of php version)
- release 7 (by relup.sh)
php-pear-Text_Huffman.spec | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/php-pear-Text_Huffman.spec b/php-pear-Text_Huffman.spec
index 408bf65..865d651 100644
--- a/php-pear-Text_Huffman.spec
+++ b/php-pear-Text_Huffman.spec
@@ -1,13 +1,11 @@
-%include /usr/lib/rpm/macros.php
-%define _class Text
-%define _subclass Huffman
%define _status beta
-%define _pearname %{_class}_%{_subclass}
+%define _pearname Text_Huffman
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - lossless compression algorithm
Summary(pl.UTF-8): %{_pearname} - bezstratny algorytm kompresji
Name: php-pear-%{_pearname}
Version: 0.2.0
-Release: 6
+Release: 7
License: LGPL
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,7 +14,7 @@ URL: http://pear.php.net/package/Text_Huffman/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php-common >= 3:5.0.0-0.RC1
+Requires: php(core) >= 5.0.0-0.RC1
Requires: php-pear >= 3:5.0.0
Obsoletes: php-pear-Text_Huffman-tests
BuildArch: noarch
@@ -49,4 +47,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/Text/*.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Text_Huffman.git/commitdiff/71ef064bc5a73cb2bb82f112e3ff22e3b04f9e4f
More information about the pld-cvs-commit
mailing list