From:             
Operating system: CentOS 5.5
PHP version:      5.3.3
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:Cannot make rpm package with included spec file

Description:
------------
1) Unpak php-5.3.3

2) Configure with command:

'./configure' '--build=x86_64-redhat-linux-gnu'
'--host=x86_64-redhat-linux-gnu' 

'--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-

prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--

datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--

libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com'
'--

mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-

file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc'
'--

with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic'
'--disable-

rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-

freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr'
'--enable-gd-

native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext'
'--with-gmp' 

'--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-zlib'
'--with-

layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes'
'--enable-

sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-

kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar'
'--with-

libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--enable-fpm' '--

without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-

unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--

without-sqlite' '--without-sqlite3' '--disable-phar' '--disable-fileinfo'
'--

disable-json' '--without-pspell' '--disable-wddx' '--without-curl'
'--disable-

posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'

3) make (make is Ok)

4) Build rpm with rpmbuild command, but process  stopped with error:

[r...@localhost php-5.3.3]# rpmbuild -ba php5.spec

error: Legacy syntax is unsupported: copyright

error: line 10: Unknown tag: Copyright: The PHP license (see "LICENSE" file


included in distribution)




-- 
Edit bug report at http://bugs.php.net/bug.php?id=53270&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53270&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53270&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53270&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53270&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53270&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53270&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53270&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53270&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53270&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53270&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53270&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53270&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53270&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53270&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53270&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53270&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53270&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53270&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53270&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53270&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53270&r=mysqlcfg

Reply via email to