Radhat package error

Samuel Liddicott sam at campbellsci.co.uk
Thu Jul 22 14:13:51 GMT 1999


This is the same on redhat 6.0 by default.

-----Original Message-----
From: samba-ntdom at samba.org [mailto:samba-ntdom at samba.org]On Behalf Of
Samuel Liddicott
Sent: 22 July 1999 11:49
To: Multiple recipients of list SAMBA-NTDOM
Subject: Radhat package error


It seems that the makerpms.sh for the redhat packaging gets the SPECDIR and
so forth using:

rpm --showrc

With rpm 3.0 and above it seems like the output of
rpm --showrc

is vastly different and cannot simply be parsed by awk to get out the
SPECDIR and so forth.

My output is below

Sam


ARCHITECTURE AND OS:
build arch            : i386
compatible build archs: i686 i586 i486 i386 noarch
build os              : Linux
compatible build os's : Linux
install arch          : i686
install os            : Linux
compatible archs      : i686 i586 i486 i386 noarch
compatible os's       : Linux

RPMRC VALUES:
macrofiles            :
/usr/lib/rpm/macros:/usr/lib/rpm/i686-linux/macros:/etc/rpm/macros:/etc/rpm/
i686-linux/macros:~/.rpmmacros
optflags              : -O2
========================
-14: GNUconfigure(MC:)
  %{__libtoolize} --copy --force
  %{__aclocal}
  %{__autoheader}
  %{__automake}
  %{__autoconf}
  %{-C:_mydir="`pwd`"; %{-M:%{__mkdir} -p %{-C*};} cd %{-C*};}
  CFLAGS="%{optflags}" %{-C:${_mydir}}%{!-C:.}/configure
%{_target_platform} --prefix=%{_prefix} %*
  %{-C:cd ${_mydir}; unset _mydir}
-14: __aclocal	aclocal
-14: __autoconf	autoconf
-14: __autoheader	autoheader
-14: __automake	automake
-14: __bzip2	%{_bzip2bin}
-14: __cat	/bin/cat
-14: __chgrp	/bin/chgrp
-14: __chmod	/bin/chmod
-14: __chown	/bin/chown
-14: __cp	/bin/cp
-14: __cpio	/bin/cpio
-14: __gzip	%{_gzipbin}
-14: __id	/usr/bin/id
-14: __install	%(which install)
-14: __libtoolize	libtoolize
-14: __make	/usr/bin/make
-14: __mkdir	/bin/mkdir
-14: __mv	/bin/mv
-14: __patch	/usr/bin/patch
-14: __ranlib	%(which ranlib)
-14: __rm	/bin/rm
-14: __strip	%(which strip)
-14: __tar	/bin/tar
-14: _arch	i386
-14: _bindir	%{_exec_prefix}/bin
-14: _build	%{_host}
-14: _build_alias	%{_host_alias}
-14: _build_cpu	%{_host_cpu}
-14: _build_os	%{_host_os}
-14: _build_vendor	%{_host_vendor}
-14: _builddir	%{_topdir}/BUILD
-14: _buildshell	/bin/sh
-14: _bzip2bin	/usr/bin/bzip2
-14: _datadir	%{_prefix}/share
-14: _dbpath	%{_var}/lib/rpm
-14: _defaultdocdir	%{_usr}/doc
-14: _exec_prefix	%{_prefix}
-14: _fixgroup	[ `%{__id} -u` = '0' ] && %{__chgrp} -Rf root
-14: _fixowner	[ `%{__id} -u` = '0' ] && %{__chown} -Rf root
-14: _fixperms	%{__chmod} -Rf a+rX,g-w,o-w
-14: _gzipbin	/bin/gzip
-14: _host	i686-pc-linux-gnu
-14: _host_alias	i686-pc-linux-gnu
-14: _host_cpu	i686
-14: _host_os	linux-gnu
-14: _host_vendor	pc
-14: _includedir	%{_prefix}/include
-14: _infodir	%{_prefix}/include
-14: _instchangelog	5
-14: _libdir	%{_exec_prefix}/lib
-14: _libexecdir	%{_exec_prefix}/libexec
-14: _localstatedir	%{_prefix}/var
-14: _mandir	%{_prefix}/man
-14: _oldincludedir	/usr/include
-14: _os	linux
-14: _pgpbin	/usr/bin/pgp
-14: _preScriptEnvironment
	RPM_SOURCE_DIR="%{_sourcedir}"
	RPM_BUILD_DIR="%{_builddir}"
	RPM_OPT_FLAGS="%{optflags}"
	RPM_ARCH="%{_arch}"
	RPM_OS="%{_os}"
	export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
	RPM_DOC_DIR="%{_docdir}"
	export RPM_DOC_DIR
	RPM_PACKAGE_NAME="%{name}"
	RPM_PACKAGE_VERSION="%{version}"
	RPM_PACKAGE_RELEASE="%{release}"
	export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
	%{?buildroot:RPM_BUILD_ROOT="%{buildroot}"
	export RPM_BUILD_ROOT
	}
-14: _prefix	/usr
-14: _rpmdir	%{_topdir}/RPMS
-14: _rpmfilename	%%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
-14: _sbindir	%{_exec_prefix}/sbin
-14: _sharedstatedir	%{_prefix}/com
-14: _signature	none
-14: _sourcedir	%{_topdir}/SOURCES
-14: _specdir	%{_topdir}/SPECS
-14: _srcrpmdir	%{_topdir}/SRPMS
-14: _sysconfdir	%{_prefix}/etc
-11: _target	i386-linux
-14: _target_alias	%{_host_alias}
-11= _target_cpu	i386
-11= _target_os	linux
-14: _target_platform	%{_target_cpu}-%{_vendor}-%{_target_os}
-14: _target_vendor	%{_host_vendor}
-14: _tmppath	%{_var}/tmp
-14: _topdir	%{_usrsrc}/redhat
-14: _usr	/usr
-14: _usrsrc	%{_usr}/src
-14: _var	/var
-14: _vendor	redhat
-14: configure
  %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force}
  CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix}
-14: nil	%{!?nil}
-11: optflags	-O2 -m486 -fno-strength-reduce
-14: perl_archlib	%(eval "`perl -V:installarchlib`"; echo $installarchlib)
-14: perl_sitearch	%(eval "`perl -V:installsitearch`"; echo
$installsitearch)
-14: requires_eq	%(LC_ALL="C" rpm -q --queryformat 'Requires:%%{NAME} =
%%{VERSION}' %1| grep -v "is not")
-15: sigtype	none
======================== active 87 empty 1



More information about the samba-ntdom mailing list