summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-04 13:03:52 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-04 13:03:52 +0200
commitf6d2abf861ec64994a188412b61950d10aa201b0 (patch)
tree71e967c64b4fd1332b230a62dce40f91e68cde1b
parentb1088241884fe6ab8c7a6ed0e72d05cfc920a82e (diff)
php-pecl-mongo: minor cleanup
-rw-r--r--php-pecl-mongo.spec6
1 files 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