[packages/php-pear-File_PDF] - use php(core) for php engine version deps - release 1 (by relup.sh)

glen glen at pld-linux.org
Sun Aug 26 14:43:59 CEST 2012


commit 0748bf3547d29325ec7dde4626a5113cf2373c7a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 26 15:43:58 2012 +0300

    - use php(core) for php engine version deps
    - release 1 (by relup.sh)

 php-pear-File_PDF.spec | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/php-pear-File_PDF.spec b/php-pear-File_PDF.spec
index 6ec962e..8ccb732 100644
--- a/php-pear-File_PDF.spec
+++ b/php-pear-File_PDF.spec
@@ -1,13 +1,11 @@
-%include	/usr/lib/rpm/macros.php
-%define		_class		File
-%define		_subclass	PDF
 %define		_status		beta
-%define		_pearname	%{_class}_%{_subclass}
+%define		_pearname	File_PDF
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - PDF generation using only PHP
 Summary(pl.UTF-8):	%{_pearname} - generowanie PDF za pomocą samego PHP
 Name:		php-pear-%{_pearname}
 Version:	0.3.3
-Release:	1
+Release:	2
 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/File_PDF/
 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-pear-HTTP_Download
 Obsoletes:	php-pear-File_PDF-tests
@@ -58,5 +56,5 @@ fi
 %defattr(644,root,root,755)
 %doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/File/*.php
+%{php_pear_dir}/File/PDF


More information about the pld-cvs-commit mailing list