commit fc016a17a3e76a409561a40d75369863d68f5a57
Author: Jan Rękorajski <[email protected]>
Date:   Mon Jan 1 02:40:08 2024 +0100

    - disable mcal, rel 74

 php4.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/php4.spec b/php4.spec
index 2ed7c77..a08f612 100644
--- a/php4.spec
+++ b/php4.spec
@@ -25,6 +25,7 @@
 %bcond_without imap            # without IMAP extension module
 %bcond_without interbase       # without InterBase extension module
 %bcond_without ldap            # without LDAP extension module
+%bcond_with    mcal            # with mcal extension module
 %bcond_without mhash           # without mhash extension module
 %bcond_with    ming            # with ming extension module
 %bcond_without mm              # without mm support for session storage
@@ -72,7 +73,7 @@
 %undefine      with_msession
 %endif
 
-%define                rel 73
+%define                rel 74
 Summary:       PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):     Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):     Język skryptowy PHP
@@ -185,7 +186,7 @@ BuildRequires:      gmp-devel
 %{?with_cpdf:BuildRequires:    libcpdf-devel >= 2.02r1-2}
 BuildRequires: libjpeg-devel
 BuildRequires: libltdl-devel >= 1.4
-BuildRequires: libmcal-devel
+%{?with_mcal:BuildRequires:    libmcal-devel}
 BuildRequires: libmcrypt-devel >= 2.4.4
 BuildRequires: libpng-devel >= 1.0.8
 BuildRequires: libtiff-devel
@@ -1801,7 +1802,7 @@ for sapi in $sapis; do
        %{?with_java:--with-java=%{_libdir}/java} \
        --with-jpeg-dir=/usr \
        %{?with_ldap:--with-ldap=shared} \
-       --with-mcal=shared,/usr \
+       %{?with_mcal:--with-mcal=shared,/usr} \
        --with-mcrypt=shared \
        %{?with_mhash:--with-mhash=shared} \
        --with-mime-magic=shared,/usr/share/misc/magic.mime \
@@ -2934,11 +2935,13 @@ fi
 %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/conf.d/mbstring.ini
 %attr(755,root,root) %{extensionsdir}/mbstring.so
 
+%if %{with mcal}
 %files mcal
 %defattr(644,root,root,755)
 %doc ext/mcal/CREDITS
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcal.ini
 %attr(755,root,root) %{extensionsdir}/mcal.so
+%endif
 
 %files mcrypt
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php4.git/commitdiff/fc016a17a3e76a409561a40d75369863d68f5a57

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to