From f6d2abf861ec64994a188412b61950d10aa201b0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 4 Apr 2014 13:03:52 +0200 Subject: php-pecl-mongo: minor cleanup --- php-pecl-mongo.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php-pecl-mongo.spec b/php-pecl-mongo.spec index 17047cf..2a76f55 100644 --- a/php-pecl-mongo.spec +++ b/php-pecl-mongo.spec @@ -79,7 +79,7 @@ MongoDB database in PHP. Documentation: http://php.net/mongo -%prep +%prep %setup -c -q mv %{gh_project}-%{gh_commit} NTS @@ -117,6 +117,7 @@ cd ../ZTS make %{?_smp_mflags} %endif + %install rm -rf %{buildroot} @@ -203,9 +204,10 @@ rm -rf data %files %defattr(-, root, root, -) %doc %{pecl_docdir}/%{pecl_name} +%{pecl_xmldir}/%{name}.xml + %config(noreplace) %{php_inidir}/%{pecl_name}.ini %{php_extdir}/%{pecl_name}.so -%{pecl_xmldir}/%{name}.xml %if %{with_zts} %config(noreplace) %{php_ztsinidir}/%{pecl_name}.ini -- cgit