RPM question - UPDATE
Paul Howarth
paul at city-fan.org
Mon Aug 14 12:44:17 UTC 2006
Dan Track wrote:
> On 8/14/06, Dan Track <dan.track at gmail.com> wrote:
>> Hi
>>
>> Does anybody know how to change the %doc macro value. I'd like to
>> install docs in /usr/local/share
>>
>> Thanks
>> Dan
> Hi
>
> I think I've found the answer. I read I need to put the name
> defaultdocdir in my rpmrc file. However when I run my rpmbuild I keep
> getting
>
> error: bad option 'defaultdocdir' at /root/.rpmrc:1
>
> Any ideas how to fix this?
1. Don't develop and build RPMs as root; it's easy to accidentally trash
your system that way.
2. You can define macros in ~/.rpmmacros
See for example:
http://www.city-fan.org/tips/CreateRPMBuildEnvironment
Paul.
More information about the fedora-list
mailing list