From 6118eaeb38443f925198a549db5c7e114fbe9dc3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Feb 2014 07:47:20 +0100 Subject: [PATCH] - Update to 5.5.9 http://www.php.net/ChangeLog-5.php#5.5.9 - Install macros to /usr/lib/rpm/macros.d --- .gitignore | 1 + php.spec | 18 +++++++++++------- sources | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 4a7ff73..b983ad2 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ php-5.4.*.bz2 /php-5.5.6-strip.tar.xz /php-5.5.7-strip.tar.xz /php-5.5.8-strip.tar.xz +/php-5.5.9-strip.tar.xz diff --git a/php.spec b/php.spec index de35141..310b073 100644 --- a/php.spec +++ b/php.spec @@ -3,7 +3,7 @@ %global zendver 20121212 %global pdover 20080721 # Extension version -%global opcachever 7.0.3-dev +%global opcachever 7.0.3 # Adds -z now to the linker flags %global _hardened_build 1 @@ -68,8 +68,8 @@ Summary: PHP scripting language for creating dynamic web sites Name: php -Version: 5.5.8 -Release: 2%{?dist} +Version: 5.5.9 +Release: 1%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -1368,7 +1368,6 @@ sed -e '/blacklist_filename/s/php.d/php-zts.d/' \ -i $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/opcache.ini # Install the macros file: -install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \ -e "s/@PHP_ZENDVER@/%{zendver}%{isasuffix}/" \ -e "s/@PHP_PDOVER@/%{pdover}%{isasuffix}/" \ @@ -1377,8 +1376,8 @@ sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \ -e "/zts/d" \ %endif < %{SOURCE3} > macros.php -install -m 644 -c macros.php \ - $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.php +install -m 644 -D macros.php \ + $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.php # Remove unpackaged files rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \ @@ -1489,7 +1488,7 @@ exit 0 %{_libdir}/php-zts/build %endif %{_mandir}/man1/php-config.1* -%{_sysconfdir}/rpm/macros.php +%{_rpmconfigdir}/macros.d/macros.php %files embedded %{_libdir}/libphp5.so @@ -1536,6 +1535,11 @@ exit 0 %changelog +* Tue Feb 11 2014 Remi Collet 5.5.9-1 +- Update to 5.5.9 + http://www.php.net/ChangeLog-5.php#5.5.9 +- Install macros to /usr/lib/rpm/macros.d + * Thu Jan 23 2014 Joe Orton - 5.5.8-2 - fix _httpd_mmn expansion in absence of httpd-devel diff --git a/sources b/sources index bdbfc74..b70cd9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -64c63f7e9db881ba025d33a3a459039f php-5.5.8-strip.tar.xz +ea0c9ea27376af839c9379a40e141f9c php-5.5.9-strip.tar.xz