]> git.pld-linux.org Git - packages/php.git/commitdiff
- use %%rpmcflags macro instead of RPM_OPT_FLAGS php-4_0_4pl1-10
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 3 Apr 2001 23:44:53 +0000 (23:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added /etc/php dir to php-common package
- changed BuildReq freetype-devel to freetype1-devel
- release 10

Changed files:
    php.spec -> 1.63

php.spec

index c237ab8b7f65c2398d3f37dc282f7a756300495b..333f631f3c379d6642999712954e010a1eeaae80 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -14,7 +14,7 @@ Summary(fr):  Le langage de script embarque-HTML PHP pour Apache
 Summary(pl):   Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
 Name:          php
 Version:       4.0.4pl1
-Release:       9
+Release:       10
 Epoch:         1
 Group:         Libraries
 Group(de):     Libraries
@@ -45,7 +45,7 @@ BuildRequires:        zip
 BuildRequires: bison
 BuildRequires: flex
 BuildRequires: db3-devel >= 3.1.17
-BuildRequires: freetype-devel
+BuildRequires: freetype1-devel
 BuildRequires: gd-devel >= 1.8.3
 BuildRequires: gdbm-devel
 %{!?bcond_off_imap:BuildRequires: imap-devel >= 4.7b-1}
@@ -668,7 +668,7 @@ PreReq:             %{name}-common = %{version}
 This is a dynamic shared object (DSO) for Apache that will add mhash
 support to PHP.
 
-#%description mcrypt -l pl
+#%description mhash -l pl
 
 %package doc
 Summary:       Online manual for PHP
@@ -718,7 +718,7 @@ Pliki potrzebne do kompilacji modu
 %patch11 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS -DEAPI -I/usr/X11R6/include"; export CFLAGS
+CFLAGS="%{rpmcflags} -DEAPI -I/usr/X11R6/include"; export CFLAGS
 ./buildconf
 %configure \
        --enable-discard-path \
@@ -1175,6 +1175,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz  
 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
 
+%dir %{_sysconfdir}
 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
 
 /home/httpd/html/icons/*
This page took 0.060396 seconds and 4 git commands to generate.