SPECS: php-pecl-archive.spec - fix build on php-5.2

adamg adamg at pld-linux.org
Tue Dec 26 18:50:45 CET 2006


Author: adamg                        Date: Tue Dec 26 17:50:45 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix build on php-5.2

---- Files affected:
SPECS:
   php-pecl-archive.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-archive.spec
diff -u SPECS/php-pecl-archive.spec:1.12 SPECS/php-pecl-archive.spec:1.13
--- SPECS/php-pecl-archive.spec:1.12	Fri Dec 15 00:48:52 2006
+++ SPECS/php-pecl-archive.spec	Tue Dec 26 18:50:40 2006
@@ -5,11 +5,12 @@
 Summary(pl):	%{_modname} - obróbka archiwów tar/cpio
 Name:		php-pecl-%{_modname}
 Version:	0.2
-Release:	6
+Release:	7
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
 # Source0-md5:	1b121440b2c460b2a1af46e31f23e46e
+Patch0:		%{name}-php52.patch
 URL:		http://pecl.php.net/package/archive/
 BuildRequires:	libarchive-devel
 BuildRequires:	php-devel >= 3:5.0.0
@@ -33,6 +34,8 @@
 
 %prep
 %setup -q -c
+cd %{_modname}-%{version}
+%patch0 -p0
 
 %build
 cd %{_modname}-%{version}
@@ -73,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2006/12/26 17:50:40  adamg
+- fix build on php-5.2
+
 Revision 1.12  2006/12/14 23:48:52  glen
 - use new php extension related macros
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-archive.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list