Re: rpmbuild --rebuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 2007-08-08 at 18:21 +0300, jarmo wrote:
> Hi
> Again try to learn, how to make package. Now when I try to make from
> .src.rpm I get:
> 
> [root@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

If you install the src.rpm, you can change the line that says
"Copyright: Freeware" to "License: Freeware" or better, what the license
actually is.  I also see that you are building as root, that can do some
interesting things and I've heard of it corrupting dependencies for the
running system.  You should take a look at these links for more info:

http://dag.wieers.com/howto/bits/rpm-build-user.php
http://myy.helia.fi/~karte/linux/doc/rpm-build-as-user.html
http://fedoranews.org/tchung/rpmbuild/


-- 
Timothy Selivanow <timothys@xxxxxxxxxxxxxx>
Linux System Administrator
EasyStreet Online Services, Inc.  http://www.easystreet.com


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux