A question about rpm license

Zane Zhang Zane.Zhang at demandtec.com
Wed Dec 21 05:40:35 UTC 2011

I got an error message with rpmbuild:

$ rpmbuild -bb --buildroot D:\workspace\projects\cts\target\rpm\dtcts-lib\buildroot --define "_topdir D:\workspace\projects\cts\target\rpm\dtcts-lib" --target "noarch-pc-windows xp" dtcts-lib.spec
Building target platforms: noarch-pc-windows xp
Building for target noarch-pc-windows xp
error: License field must be present in package: (main package)

How about resolve this problem? Is there any link to explain license and rpm?


[cid:db12-email-sig3e12.png]<http://www.demandtec.com/db12>DemandBetter 2012


DemandTec Email Notice
This email and any attachments may contain confidential and/or proprietary
information and is intended solely for the use of the addressee. If you are not
the intended recipient we request that you notify us via email or telephone and
delete all copies of the message from your systems. Additionally, although
DemandTec has taken reasonable precautions to ensure the security of this
email and any attachments, we encourage you to take similar precautions and
accept no liability for any loss or damage resulting from its use.

DemandTec, 1 Franklin Parkway, Building 910, San Mateo, CA 94403-1906, 650-645-7100

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20111220/d05a2f9d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db12-email-sig3e12.png
Type: image/png
Size: 8545 bytes
Desc: db12-email-sig3e12.png
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20111220/d05a2f9d/attachment.png>

More information about the Rpm-list mailing list