php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53270 Cannot make rpm package with included spec file
Submitted: 2010-11-08 21:51 UTC Modified: 2010-11-11 02:29 UTC
From: mikhail dot v dot gavrilov at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.3.3 OS: CentOS 5.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mikhail dot v dot gavrilov at gmail dot com
New email:
PHP Version: OS:

 

 [2010-11-08 21:51 UTC] 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)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-10 16:20 UTC] 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-11 02:29 UTC] fat@php.net
-Status: Open +Status: Bogus
 [2010-11-11 02:29 UTC] fat@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 19 19:00:01 2025 UTC