diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-10-09 11:27:05 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-10-09 11:27:05 +0200 |
commit | 82688a8c4f4f085434e90eb49e6807a071b8600e (patch) | |
tree | 543694c5bb8f2513538e6cbfa701c4d86f7acc47 | |
parent | 7c0c4a619d6cb891b0e204cdabee2581889402ea (diff) |
php-pecl-mysqlnd-qc: revert to review spec
-rw-r--r-- | php-pecl-mysqlnd-qc.spec | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/php-pecl-mysqlnd-qc.spec b/php-pecl-mysqlnd-qc.spec index 9e7521c..d2262b0 100644 --- a/php-pecl-mysqlnd-qc.spec +++ b/php-pecl-mysqlnd-qc.spec @@ -12,7 +12,7 @@ Summary: A query cache plugin for mysqlnd Name: php-pecl-mysqlnd-qc Version: 1.1.1 -Release: 3%{?dist} +Release: 1%{?dist} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz License: PHP Group: Development/Languages @@ -39,19 +39,14 @@ Requires: php-sqlite3%{?_isa} Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} -Provides: php-pecl(%{pecl_name}) = %{version} -Provides: php-pecl(%{pecl_name})%{?_isa} = %{version} +Provides: php-pecl(%{pecl_name}) = %{version}-%{release} +Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}-%{release} -# Other third party repo stuff -Obsoletes: php53-pecl-mysqlnd-qc -Obsoletes: php53u-pecl-mysqlnd-qc -%if "%{php_version}" > "5.4" -Obsoletes: php54-pecl-mysqlnd-qc -%endif - -# Filter private shared +# RPM 4.8 %{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} %{?filter_setup} +# RPM 4.9 +%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{_libdir}/.*\\.so$ %description @@ -132,17 +127,17 @@ rm -rf %{buildroot} rm -f %{pecl_name}-*/modules/{sqlite3,mysqlnd}.so make install -C %{pecl_name}-%{version} INSTALL_ROOT=%{buildroot} -# Drop in the bit of configuration -install -D -m 644 %{pecl_name}.ini %{buildroot}%{_sysconfdir}/php.d/%{pecl_name}.ini - -# Install XML package description -install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %if 0%{?__ztsphp:1} make install -C %{pecl_name}-zts INSTALL_ROOT=%{buildroot} + +# Drop in the bit of configuration install -D -m 644 %{pecl_name}.ini %{buildroot}%{php_ztsinidir}/%{pecl_name}.ini %endif +install -D -m 644 %{pecl_name}.ini %{buildroot}%{_sysconfdir}/php.d/%{pecl_name}.ini +# Install XML package description +install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %clean @@ -218,13 +213,6 @@ zts-php -n -q \ %changelog -* Sat Sep 22 2012 Remi Collet <remi@fedoraproject.org> - 1.1.1-3 -- rebuild for new libmemcached -- Obsoletes php53*, php54* - -* Mon Apr 30 2012 Remi Collet <remi@fedoraproject.org> - 1.1.1-2 -- rebuild for EL and PHP 5.4 - * Mon Apr 30 2012 Remi Collet <remi@fedoraproject.org> - 1.1.1-1 - update to 1.1.1-alpha - add devel sub-package |