Strange dependencies added by rpmbuild

Mertens, Bram mertensb at mazdaeur.com
Mon Jan 21 15:27:08 UTC 2008


> 


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB

-----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Michael Schwendt
> Sent: maandag 21 januari 2008 12:43
> To: General Red Hat Linux discussion list
> Subject: Re: Strange dependencies added by rpmbuild
> 
> On 21/01/2008, Mertens, Bram <mertensb at mazdaeur.com> wrote:
> 
> > Because it complained about those 3 dependencies and because those
> > "odbc" libraries didn't appear to make much sense to me (the agent
> > should only contact its so-called policy server not a DB directly) I
> > tried to figure out why those were reported as dependencies 
> by RPM while
> > the installer obivously didn't need them.  It didn't even 
> consider them
> > important enough to throw a warning.
> 
> > My guess is that these dependencies are in act dependencies of the
> > installer itself "InstallAnywhere by Macrovision" rather than the
> > software itself.  The installer appears to install several 
> additional
> > files with the software - probably part of the non-working uninstall
> > script.
> 
> But *you* control what you put into the %files section of your RPM
> package, and therefore you can choose to exclude any files you don't
> need. Well, you didn't post the package spec file. But rpmbuild finds
> dependencies for all files included in the package.

Which would have been my next step if I could determine that the odbc
libraries were really required for the (what I assume to be) installer
files.

FYI:
# spec file for web agent (Version 6qmr5)
#

Name:           webagent
License:        unknown
Group:          Productivity/Networking/Web/Servers
Version:        6.5.12
Release:        1
Vendor:         unknown
URL:            unknown
Packager:       Bram Mertens <>
Summary:        Siteminder web agent 6QMR5 CR12
Source:         webagent-6.5.12.tar.gz

Requires:       httpd
BuildRoot:      /var/tmp/%{name}-%{PACKAGE_VERSION}-root

%description
CA SiteMinder is a centralized Web access management system that enables
user
authentication and single sign-on, policy-based authorization, identity
federation, and auditing of access to Web applications and portals.

This package is based on the nete-wa-6qmr5-cr012-rhel30.bin installer
from the
smwa-6qmr5-cr012-rhel30.zip package

%prep
#unpack the software to a temp dir
%setup -q

%build
# nothing to do

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/local/netegrity
cp -pr webagent $RPM_BUILD_ROOT/usr/local/netegrity

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/local/netegrity/webagent

%changelog
* Thu Jan 10 2008 Bram Mertens <> 6.5.12.1
- new upstream release (6QMR5 CR12), used the
nete-wa-6qmr5-cr012-rhel30.bin
  installer from the smwa-6qmr5-cr012-rhel30.zip package
* Mon Nov 12 2007 Bram Mertens <> 6.5.4
- Use tar-ball from installed agent rather than CA's binary installer.
* Fri Nov 9 2007 Bram Mertens <> 6.5.3
- Building the rpm failed when checking the list of files.  Current work
around
  is to install the files in /usr/local/src and run the installer in the
%post
  section
* Fri Nov 9 2007 Bram Mertens <> 6.5.2
- The value of USER_INSTALL_DIR is used in the generated scripts.
Therefore
  this variable has to point to the final location.  However this means
that
  the package will be built in /usr/local rather than a temporary
directory.
* Thu Nov 8 2007 Bram Mertens <> 6.5.1
- initial version

Regards

Bram




More information about the redhat-list mailing list