diff options
| -rw-r--r-- | PHPINFO | 2 | ||||
| -rw-r--r-- | REFLECTION | 2 | ||||
| -rw-r--r-- | php-pecl-amqp.spec | 56 | 
3 files changed, 9 insertions, 51 deletions
@@ -4,7 +4,7 @@ amqp  Version => 2.1.2  Compiled => Jan 22 2024 @ 00:00:00  AMQP protocol version => 0-9-1 -librabbitmq version => 0.13.0 +librabbitmq version => 0.14.0  Default max channels per connection => 256  Default max frame size => 131072  Default heartbeats interval => 0 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #62 amqp version 2.1.2 ] { +Extension [ <persistent> extension #99 amqp version 2.1.2 ] {    - INI {      Entry [ amqp.host <ALL> ] diff --git a/php-pecl-amqp.spec b/php-pecl-amqp.spec index 92b494a..d55a402 100644 --- a/php-pecl-amqp.spec +++ b/php-pecl-amqp.spec @@ -53,29 +53,6 @@ Provides:         %{?scl_prefix}php-%{pecl_name}%{?_isa}       = %{version}  Provides:         %{?scl_prefix}php-pecl(%{pecl_name})         = %{version}  Provides:         %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} == 7 -# Other third party repo stuff -Obsoletes:     php54-pecl-%{pecl_name}  <= %{version} -%if "%{php_version}" > "5.6" -Obsoletes:     php56u-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.0" -Obsoletes:     php70u-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.1" -Obsoletes:     php71u-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.2" -Obsoletes:     php72u-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.3" -Obsoletes:     php73-pecl-%{pecl_name}  <= %{version} -%endif -%if "%{php_version}" > "7.4" -Obsoletes:     php74-pecl-%{pecl_name}  <= %{version} -%endif -%endif -  %description  This extension can communicate with any AMQP spec 0-9-1 compatible server, @@ -91,7 +68,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO  # Don't install/register tests  sed -e 's/role="test"/role="src"/' \ -    %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ +    -e '/LICENSE/s/role="doc"/role="src"/' \      -i package.xml  cd %{sources} @@ -167,22 +144,23 @@ mkdir ZTS  cd %{sources}  %{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global  cd ../NTS  %configure --with-php-config=%{__phpconfig} -make %{?_smp_mflags} +%make_build  %if %{with_zts}  cd ../ZTS  %configure --with-php-config=%{__ztsphpconfig} -make %{?_smp_mflags} +%make_build  %endif  %install  %{?dtsenable} -make -C NTS install INSTALL_ROOT=%{buildroot} +%make_install -C NTS  # Drop in the bit of configuration  install -Dpm 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -191,7 +169,7 @@ install -Dpm 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}  install -Dpm 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml  %if %{with_zts} -make -C ZTS install INSTALL_ROOT=%{buildroot} +%make_install -C ZTS  install -Dpm 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}  %endif @@ -253,28 +231,8 @@ exit $ret  %endif -%if 0%{?fedora} < 24 && 0%{?rhel} < 8 -# when pear installed alone, after us -%triggerin -- %{?scl_prefix}php-pear -if [ -x %{__pecl} ] ; then -    %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -# 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 -a -x %{__pecl} ] ; then -    %{pecl_uninstall} %{pecl_name} >/dev/null || : -fi -%endif - -  %files -%{?_licensedir:%license %{sources}/LICENSE} +%license %{sources}/LICENSE  %doc %{pecl_docdir}/%{pecl_name}  %{pecl_xmldir}/%{name}.xml  | 
