diff options
| author | Remi Collet <fedora@famillecollet.com> | 2015-09-13 19:40:00 +0200 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2015-09-13 19:40:00 +0200 | 
| commit | b7158bc1a046df8b0ebe1f0200cf22862a59b893 (patch) | |
| tree | 62d59fafe73f7c37d19e53eb895c33abf86669d7 | |
| parent | 2a02984c431aa3b659942d5a64262e2ea8ee09a8 (diff) | |
php-pecl-newt: 1.2.9 (stable)
| -rw-r--r-- | REFLECTION | 2 | ||||
| -rw-r--r-- | php-pecl-newt.spec | 29 | 
2 files changed, 21 insertions, 10 deletions
| @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #110 newt version 1.2.8 ] { +Extension [ <persistent> extension #130 newt version 1.2.9 ] {    - Constants [100] {      Constant [ integer NEWT_COLORSET_ROOT ] { 2 } diff --git a/php-pecl-newt.spec b/php-pecl-newt.spec index daf3b58..a90612c 100644 --- a/php-pecl-newt.spec +++ b/php-pecl-newt.spec @@ -1,4 +1,4 @@ -# spec file for php-pecl-newt +# remirepo spec file for php-pecl-newt  #  # Copyright (c) 2013-2015 Remi Collet  # License: CC-BY-SA @@ -21,8 +21,8 @@  Summary:        Extension for Red Hat Newt window library  Name:           %{?scl_prefix}php-pecl-%{pecl_name} -Version:        1.2.8 -Release:        4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}.1 +Version:        1.2.9 +Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  License:        PHP  Group:          Development/Languages  URL:            http://pecl.php.net/package/%{pecl_name} @@ -33,8 +33,6 @@ BuildRequires:  %{?scl_prefix}php-devel  BuildRequires:  %{?scl_prefix}php-pear  BuildRequires:  newt-devel -Requires(post): %{__pecl} -Requires(postun): %{__pecl}  Requires:       %{?scl_prefix}php(zend-abi) = %{php_zend_api}  Requires:       %{?scl_prefix}php(api) = %{php_core_api}  %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} @@ -78,6 +76,8 @@ scales, etc.  Use of this extension if very similar to the original  Newt API of C programming language. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. +  %prep  %setup -q -c @@ -149,13 +149,20 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i  done +# when pear installed alone, after us +%triggerin -- %{?scl_prefix}php-pear +if [ -x %{__pecl} ] ; then +    %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi -%post -%{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : - +# posttrans as pear can be installed after us +%posttrans +if [ -x %{__pecl} ] ; then +    %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi  %postun -if [ $1 -eq 0 ] ; then +if [ $1 -eq 0 -a -x %{__pecl} ] ; then      %{pecl_uninstall} %{pecl_name} >/dev/null || :  fi @@ -194,6 +201,10 @@ rm -rf %{buildroot}  %changelog +* Sun Sep 13 2015 Remi Collet <remi@fedoraproject.org> - 1.2.9-1 +- Update to 1.2.9 (stable) +- drop runtime dependency on pear, new scriptlets +  * Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> - 1.2.8-4.1  - Fedora 21 SCL mass rebuild | 
