]> git.pld-linux.org Git - packages/php-adodb.git/commitdiff
- added pear bcond
authorMariusz Mazur <mmazur@pld-linux.org>
Thu, 14 May 2009 13:33:55 +0000 (13:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-adodb.spec -> 1.51

php-adodb.spec

index 94199c2ff7f5ad3bb350b2acd3f9b31f3d740ef4..5853b82e8b5364742ed2fa870f149a22adb3a425 100644 (file)
@@ -1,3 +1,6 @@
+#
+%bcond_without pear    # Don't build pear-dependent packages.
+
 %include       /usr/lib/rpm/macros.php
 %define ver    %(echo %{version} | tr -d .)
 %define        _postrel        a
@@ -149,6 +152,7 @@ EOF
 %{_appdir}/adodb-xmlschema03.inc.php
 %{_appdir}/adodb-memcache.lib.inc.php
 
+%if %{with pear}
 %files tests
 %defattr(644,root,root,755)
 %{_appdir}/tests
@@ -164,3 +168,4 @@ EOF
 %defattr(644,root,root,755)
 %doc pear/README
 %{php_pear_dir}/Auth/Container/ADOdb.php
+%endif
This page took 0.067163 seconds and 4 git commands to generate.