rpms/nabi/devel nabi.spec,1.3,1.4

Ralf Corsepius rc040203 at freenet.de
Mon Mar 21 06:44:01 UTC 2005


On Sat, 2005-03-19 at 02:13 -0500, Warren Togami wrote:
> Author: wtogami

> Index: nabi.spec
> ===================================================================
> RCS file: /cvs/extras/rpms/nabi/devel/nabi.spec,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -r1.3 -r1.4
> --- nabi.spec	17 Mar 2005 08:50:09 -0000	1.3
> +++ nabi.spec	19 Mar 2005 07:13:47 -0000	1.4
> @@ -23,7 +23,7 @@
>  %setup -q -n %{name}-%{version}
>  
>  %build
> -./configure --prefix={%_prefix}
> +./configure --prefix=%{_prefix}
>  make

This is still broken.

Your spec also is using %{_bindir}, %{_datadir},
%_sysconfdir}, but you miss to propagate them to the package's
configuration.

Try this and you'll see the bug:
# rpmbuild --rebuild nabi-0.14-4.src.rpm --define "_datadir /foo/bar"

Further bugs:
* RPM_OPT_FLAGS is being not honoured.
* Using install-strip void *debug.rpms

My advice: use %configure and remove install-strip

Another issue:
* When building the rpm, the autotools are being run.
I haven't investigated, but this could indicate the timestamps inside of
the original tarball to be broken.

Ralf






More information about the fedora-extras-commits mailing list