View Single Post

   
  #2 (permalink)  
Old 04-15-2008, 10:42 PM
Andrew Dunstan
 
Posts: n/a
Default Re: contrib like modules in Red Hat problem, Re: A "bug"report for orafce



Tom Lane wrote:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
>
>> On 21/01/2008, Devrim GÜNDÜZ <devrim@commandprompt.com> wrote:
>>
>>> Orafce is about to be approved for Fedora, and I need help for one of
>>> the review items. Per:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=251805#c1
>>>

>
> AFAICT, there's nothing wrong with the Makefile. The problem is with
> the specfile, which apparently is calling plain "make install".
> It should read
>
> %install
> rm -rf $RPM_BUILD_ROOT
>
> make DESTDIR=$RPM_BUILD_ROOT install
>
> Devrim: you should be testing specfiles by building as non-root;
> you would have caught this yourself.
>
>
>


Shouldn't one always build RPMs as non-root?

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote