[CentOS] rpmbuild --rebuild

Akemi Yagi amyagi at gmail.com
Wed Aug 8 15:58:27 UTC 2007


On 8/8/07, jarmo <oh1mrr at nic.fi> wrote:
> Hi
> Again try to learn, how to make package. Now when I try to make from
> .src.rpm I get:
>
> [root at oh1mrr lataa]# rpmbuild --rebuild webmin-1.360-1.src.rpm
> Installing: webmin-1.360-1.src.rpm
> error: Legacy syntax is unsupported: copyright
> error: line 12: Unknown tag: Copyright: Freeware
>
> What's wrong with rpm? or me, eh? :D
>
> Also if I try install webmins noarc.rpm I don't get it work properly...
> Is there package for centos 5 somewhere? Webmin is one of the killer-
> progs, what I've used, so would like to use it further more.
>
> Using here vanilla kernel-2.6.21.1
> rpm-4.4.2-37.el5
>
> Jarmo

In the spec file there is a line that says, "Copyright: Freeware". If
you comment this out and put a line "License xxx", it will build. You
need to find out under what licensing webmin is distributed.

Akemi



More information about the CentOS mailing list