rpms/php-pecl-phar/devel .cvsignore, 1.4, 1.5 php-pecl-phar.spec, 1.4, 1.5 sources, 1.4, 1.5 phar-make.patch, 1.1, NONE

Remi Collet (remi) fedora-extras-commits at redhat.com
Sat Nov 24 10:12:25 UTC 2007


Author: remi

Update of /cvs/extras/rpms/php-pecl-phar/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31254

Modified Files:
	.cvsignore php-pecl-phar.spec sources 
Removed Files:
	phar-make.patch 
Log Message:
update to new version


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-phar/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	8 Oct 2007 05:31:36 -0000	1.4
+++ .cvsignore	24 Nov 2007 10:11:53 -0000	1.5
@@ -1 +1 @@
-phar-1.2.2.tgz
+phar-1.2.3.tgz


Index: php-pecl-phar.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-phar/devel/php-pecl-phar.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- php-pecl-phar.spec	8 Oct 2007 05:31:36 -0000	1.4
+++ php-pecl-phar.spec	24 Nov 2007 10:11:53 -0000	1.5
@@ -5,18 +5,15 @@
 
 Summary:      Allows running of complete applications out of .phar files
 Name:         php-pecl-phar
-Version:      1.2.2
+Version:      1.2.3
 Release:      1%{?dist}
 License:      PHP
 Group:        Development/Languages
 URL:          http://pecl.php.net/package/phar
 
 Source:       http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-
 Source2:      xml2changelog
 
-Patch0:       phar-make.patch
-
 BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: php-devel >= 5.2.0, pcre-devel, php-pear
 Requires(post): %{__pecl}
@@ -48,7 +45,12 @@
 %setup -c -q
 %{_bindir}/php -n %{SOURCE2} package.xml >CHANGELOG
 cd %{pecl_name}-%{version}
-%patch0 -p0 -b .makepatch
+
+# fix PHP path
+%{__sed} -i -e 's#/usr/local/bin#%{_bindir}#' phar/phar.php
+# need a rebuild (to be signed, with good php path)
+%{__rm} -f phar.phar
+
 
 %build
 cd %{pecl_name}-%{version}
@@ -56,8 +58,7 @@
 %configure
 %{__make} %{?_smp_mflags}
 
-# Build the phar command (a phar application)
-%{__make} pharcmd
+%{__make} pharcmd  SAPI_CLI_PATH="%{_bindir}/php -n -q -d extension_dir=modules -d extension=phar.so -d phar.readonly=0"
 
 
 %install
@@ -122,8 +123,11 @@
 
 
 %changelog
+* Fri Nov 23 2007 Remi Collet <Fedora at FamilleCollet.com> 1.2.3-1
+- update to 1.2.3
+
 * Mon Oct 08 2007 Remi Collet <Fedora at FamilleCollet.com> 1.2.2-1
-- update to 1.2.1
+- update to 1.2.2
 
 * Thu Aug 30 2007 Remi Collet <Fedora at FamilleCollet.com> 1.2.1-1
 - update to 1.2.1


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-phar/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	8 Oct 2007 05:31:36 -0000	1.4
+++ sources	24 Nov 2007 10:11:53 -0000	1.5
@@ -1 +1 @@
-9bc6edbc3bbb47df947c9952235dd22f  phar-1.2.2.tgz
+b2b81eebc715044d7793643a626e9d51  phar-1.2.3.tgz


--- phar-make.patch DELETED ---




More information about the fedora-extras-commits mailing list