Opened 13 years ago

Last modified 7 years ago

#391 closed defect (Works for me)

RedHat 5.0beta Enterprise

Reported by: phobos Owned by: phobos
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.1.2.7-alpha
Severity: Keywords:
Cc: phobos Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

This hack does not quite work out:
%define _build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%{target_cpu}.rpm

I get:
error: Could not open /usr/src/redhat/RPMS/tor-0.1.1.26-tor.0.rh5_0.i386.rpm: Permission denied

I have /usr/src/redhat/RPMS/i386/ , for example,
where user "rpmbuild" can write to.

tor.spec is the first one to define _build_name_fmt.
Others don't define it and work.
But on the other hand, I don't have many src.rpms which try to
work with more than one distro.

[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Change History (4)

comment:1 Changed 13 years ago by phobos

As far as I can tell, /usr/lib/rpm/macros contains the standard build_name_fmt setting. The default setting for this
variable is
# XXX Note: escaped %% for use in headerSprintf()
%_build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm

comment:2 Changed 12 years ago by phobos

I can't replicate this at all. I used Redhat Enterprise 5.0 Beta2. It compiles and builds rpms from "make dist-rpm"
just fine without error.

comment:3 Changed 12 years ago by phobos

flyspray2trac: bug closed.

comment:4 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.