summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-09 11:29:58 +0200
committerRemi Collet <fedora@famillecollet.com>2012-10-09 11:29:58 +0200
commitaee3d6ec323e935db4f68d5843483c548d1e9c57 (patch)
tree939d973d771ce45a214b4e72675401340a82b248
parent82688a8c4f4f085434e90eb49e6807a071b8600e (diff)
php-pecl-mysqlnd-qc: change from review
-rw-r--r--php-pecl-mysqlnd-qc.spec15
1 files changed, 4 insertions, 11 deletions
diff --git a/php-pecl-mysqlnd-qc.spec b/php-pecl-mysqlnd-qc.spec
index d2262b0..6b84d39 100644
--- a/php-pecl-mysqlnd-qc.spec
+++ b/php-pecl-mysqlnd-qc.spec
@@ -22,7 +22,6 @@ URL: http://pecl.php.net/package/mysqlnd_qc
# From http://www.php.net/manual/en/mysqlnd-qc.configuration.php
Source1: mysqlnd_qc.ini
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: php-devel >= 5.3.4
BuildRequires: php-mysqlnd
BuildRequires: php-pear
@@ -42,11 +41,9 @@ Requires: php(api) = %{php_core_api}
Provides: php-pecl(%{pecl_name}) = %{version}-%{release}
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}-%{release}
-# RPM 4.8
+# Filter private shared
%{?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
@@ -122,7 +119,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
# for short-circuit
rm -f %{pecl_name}-*/modules/{sqlite3,mysqlnd}.so
@@ -140,10 +136,6 @@ install -D -m 644 %{pecl_name}.ini %{buildroot}%{_sysconfdir}/php.d/%{pecl_name}
install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
-%clean
-rm -rf %{buildroot}
-
-
%post
%{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
@@ -191,7 +183,6 @@ zts-php -n -q \
%files
-%defattr(-, root, root, -)
%doc %{pecl_name}-%{version}/{CHANGES,CREDITS,LICENSE,README}
%doc %{pecl_name}-%{version}/web
%config(noreplace) %{_sysconfdir}/php.d/%{pecl_name}.ini
@@ -204,7 +195,6 @@ zts-php -n -q \
%endif
%files devel
-%defattr(-,root,root,-)
%{_includedir}/php/ext/%{pecl_name}
%if 0%{?__ztsphp:1}
@@ -213,6 +203,9 @@ zts-php -n -q \
%changelog
+* Tue Oct 9 2012 Remi Collet <remi@fedoraproject.org> - 1.1.1-2
+- clean EL-5 stuff
+
* Mon Apr 30 2012 Remi Collet <remi@fedoraproject.org> - 1.1.1-1
- update to 1.1.1-alpha
- add devel sub-package