[CentOS-devel] php-5.2.x needs adopting

Thu Feb 17 12:12:27 UTC 2011
Jean-Marc Liger <jean-marc.liger at siris.sorbonne.fr>

Le 17/02/11 07:46, Karanbir Singh a écrit :
> On 02/17/2011 06:46 AM, Larry Vaden wrote:
>>> Would someone like to adopt the 5.2 packages, bring them upto 5.2.17 and
>>> maintain it going forward for c5 ?
>> I dunno how to establish the trust Johnny mentioned, but you can count
>> on me as a last resort if you have no other volunteers.
> how about submitting a patch to the existing spec file bringing it upto
> 5.2.17; that would be a good place to start from
>
> - KB

Hi Karanbir,

Belowthe patch,php-extras would need to be recompiled as well.

JML

root# diff -uri php-5.2.17.spec php-5.2.10.spec
--- php-5.2.17.spec    2011-02-17 10:53:30.000000000 +0100
+++ php-5.2.10.spec    2009-08-10 11:12:31.000000000 +0200
@@ -5,7 +5,7 @@

  Summary: The PHP HTML-embedded scripting language
  Name: php
-Version: 5.2.17
+Version: 5.2.10
  Release: 1%{?dist}
  License: PHP
  Group: Development/Languages
@@ -632,9 +632,6 @@
  %files pdo -f files.pdo

  %changelog
-* Thu Feb 17 2011 Jean-Marc Liger <jmliger at siris.sorbonne.fr> 
5.2.17-1%{?dist}
-- update to 5.2.17
-
  * Mon Aug 10 2009 Joe Orton <jorton at redhat.com> 5.2.10-1.el5s2
  - update to 5.2.10


# mock -r epel-5-i386 --define='dist .el5' --resultdir=entrouvert-i386 
php-5.2.17-1.src.rpm
INFO: mock.py version 1.0.14 starting...
State Changed: init plugins
INFO: selinux enabled
WARNING: selinux: 'yum' does not support '--setopt' option
State Changed: start
INFO: Start(php-5.2.17-1.src.rpm)  Config(epel-5-i386)
State Changed: lock buildroot
State Changed: clean
State Changed: init
State Changed: lock buildroot
Mock Version: 1.0.14
INFO: Mock Version: 1.0.14
INFO: enabled root cache
INFO: root cache aged out! cache will be rebuilt
INFO: enabled yum cache
State Changed: cleaning yum metadata
INFO: enabled ccache
State Changed: running yum
State Changed: creating cache
State Changed: setup
State Changed: build
INFO: Done(php-5.2.17-1.src.rpm) Config(epel-5-i386) 34 minutes 38 seconds
INFO: Results and/or logs in: centos-i386
INFO: Cleaning up build root ('clean_on_success=True')
State Changed: lock buildroot
State Changed: clean
INFO: chroot (/var/lib/mock/epel-5-i386) unlocked and deleted