Bug #53270 [Opn->Bgs]: Cannot make rpm package with included spec file

From: Date: Thu, 11 Nov 2010 01:29:04 +0000
Subject: Bug #53270 [Opn->Bgs]: Cannot make rpm package with included spec file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155934@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53270&edit=1 ID: 53270 Updated by: fat@php.net Reported by: mikhail dot v dot gavrilov at gmail dot com Summary: Cannot make rpm package with included spec file -Status: Open +Status: Bogus Type: Bug Package: Unknown/Other Function Operating System: CentOS 5.5 PHP Version: 5.3.3 Block user comment: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. not a PHP related problem. Fix your spec file. Previous Comments: ------------------------------------------------------------------------ [2010-11-10 16:20:40] Kalle@php.net This should be fairly simple to fix, simply swap the copyright tag with a license tag in the specs file should do ------------------------------------------------------------------------ [2010-11-08 21:51:24] mikhail dot v dot gavrilov at gmail dot com 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: [root@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 this bug report at http://bugs.php.net/bug.php?id=53270&edit=1

« previous php.bugs (#155934) next »