summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-10-21 07:47:21 +0200
committerRemi Collet <fedora@famillecollet.com>2013-10-21 07:47:21 +0200
commitc0915f80aaf260198a27f55010e8d6f4db6d6ef8 (patch)
treeb63b5dc36dbc14aa3a843a2385ab3f8ef1d44015
parent7a34401a94c9dceae30680e81b5f62c4299c28cd (diff)
php-pecl-judy: move tests and examples in devel subpackage
-rw-r--r--php-pecl-judy.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/php-pecl-judy.spec b/php-pecl-judy.spec
index 7f8278d..cd68fd9 100644
--- a/php-pecl-judy.spec
+++ b/php-pecl-judy.spec
@@ -16,7 +16,7 @@
Summary: PHP Judy implements sparse dynamic arrays
Name: php-pecl-judy
Version: 1.0.1
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -188,7 +188,7 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc %{pecl_docdir}/%{pecl_name}
-%doc %{pecl_testdir}/%{pecl_name}
+%exclude %{pecl_docdir}/%{pecl_name}/examples
%{pecl_xmldir}/%{name}.xml
%config(noreplace) %{php_inidir}/%{ext_name}.ini
%{php_extdir}/%{ext_name}.so
@@ -200,6 +200,8 @@ rm -rf %{buildroot}
%files devel
%defattr(-,root,root,-)
+%doc %{pecl_testdir}/%{pecl_name}
+%doc %{pecl_docdir}/%{pecl_name}/examples
%{php_incldir}/ext/%{ext_name}
%if %{with_zts}
@@ -208,6 +210,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Oct 21 2013 Remi Collet <remi@fedoraproject.org> - 1.0.1-2
+- move tests and examples in devel subpackage
+
* Mon Oct 21 2013 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
- rename from php-pecl-Judy to php-pecl-judy
- Update to 1.0.1