PuTTY 0.54 rpms (http://www.chiark.greenend.org.uk/~sgtatham/putty/)

Mike A. Harris mharris at redhat.com
Fri Feb 20 12:47:07 UTC 2004


On Fri, 20 Feb 2004, Gavin Henry wrote:

>> I looked at your SPEC file and compared it what I had. I have the
>> following differences:
>>
>> 	+ What is the reason for choosing noarch ?
>
>I am a beginner with building rpms, so I am trying to do as many as possible.
>
>I thought, if it was noarch it would indicate it would work on any rpm
>distro.

"noarch" means "no architecture" or rather "architecture 
independant", which means that the contents of the package are 
useable as-is on x86, AMD64, ia64, alpha, sparc, ppc, ppc64, etc. 
without modification.  Examples of noarch packages are 
documentation, fonts, other packages which are strictly 
architecture independant data, packages containing only 
interpreted perl, python, shell scripts, etc.

Any package which contains code compiled specificially for a 
given architecture, such as i386, must not be flagged as 
"noarch", as rpm will allow it to be installed on any 
architecture then, which will result in failure at runtime.


>> 	+ No manpages (there are 2 missing since the last release though)
>
>I need to check for these.

Make sure rpm is configured to refuse to generate packages if any 
files have been installed in the buildroot which are not listed 
in the %files section.  That is the default if you install 
redhat-rpm-config.

Hope this helps.

Take care!
TTYL



-- 
Mike A. Harris     ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat





More information about the fedora-devel-list mailing list