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

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


commit 1abedfc326eccc1b3ab126aff0718211ae4f3345
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 26 15:43:53 2012 +0300

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

 php-pear-File_Ogg.spec | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/php-pear-File_Ogg.spec b/php-pear-File_Ogg.spec
index 8b372d5..d1adb41 100644
--- a/php-pear-File_Ogg.spec
+++ b/php-pear-File_Ogg.spec
@@ -1,14 +1,11 @@
-%include	/usr/lib/rpm/macros.php
-%define		_class		File
-%define		_subclass	Ogg
 %define		_status		beta
-%define		_pearname	%{_class}_%{_subclass}
-
+%define		_pearname	File_Ogg
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - access Ogg bitstreams
 Summary(pl.UTF-8):	%{_pearname} - dostęp do strumieni Ogg
 Name:		php-pear-%{_pearname}
 Version:	0.3.1
-Release:	1
+Release:	2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -17,7 +14,7 @@ URL:		http://pear.php.net/package/File_Ogg/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
-Requires:	php-common >= 3:4.1.0
+Requires:	php(core) >= 4.1.0
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -49,5 +46,5 @@ 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}/%{_class}/%{_subclass}
+%{php_pear_dir}/File/*.php
+%{php_pear_dir}/File/Ogg


More information about the pld-cvs-commit mailing list