rpms/fftw3/devel fftw3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Quentin Spencer qspencer at ieee.org
Thu Apr 21 21:27:06 UTC 2005


I have some questions (see below), but I thought I would first mention 
that this spec file is copied almost verbatim from fftw, so many of 
these problems already exist there.


Michael Schwendt wrote:

>>...
>>BuildRequires:  gcc-g77
>>    
>>
>
>gcc-g77 does not exist in Fedora Core Development.
>  
>
changing to gcc-gfortran (I don't have a FC4 installation yet so I can't 
test this, but I hope to soon).

>>%package        devel
>>Summary:        Headers, libraries and docs for the FFTW library.
>>Group:          Development/Libraries
>>Requires:       %{name} = %{version}-%{release}
>>    
>>
>
>Requires: %name = %{version}-%{release}
>
>would be safer and ensure that -devel package and main package are really
>always in sync (which is a good thing because the -devel package defines
>an API and depends on the main package).
>  
>
Can someone explain the difference between %{name} and %name ?

>>%install
>>rm -rf ${RPM_BUILD_ROOT}
>>pushd double
>>	make install DESTDIR=${RPM_BUILD_ROOT}
>>	cp -a AUTHORS COPYING COPYRIGHT ChangeLog NEWS README* TODO ../
>>	cp -a doc/ ../
>>popd
>>pushd single
>>	make install DESTDIR=${RPM_BUILD_ROOT}
>>popd
>>rm -f doc/Makefile*
>>    
>>
>
>Hint: Be careful here! Removing files from $RPM_BUILD_DIR breaks
>short-circuit installs. See Fedora Extras "make install-short" and also
>"rpmbuild -bi --short-circuit fftw3.spec". Very useful stuff if you ever
>need to debug %install sections and %files lists.
>  
>
Any other suggestions for dealing with files in buildroot that you don't 
want in the package?

-Quentin




More information about the scm-commits mailing list