Turn off automatic dependency generation

Eran Ben Natan eranb at celltick.com
Tue Aug 7 06:02:36 UTC 2012

Add line 
AutoReq: 0 
in the spec file

-----Original Message-----
From: rpm-list-bounces at lists.rpm.org
[mailto:rpm-list-bounces at lists.rpm.org] On Behalf Of jupiter
Sent: Tuesday, August 07, 2012 6:48 AM
To: rpm-list at lists.rpm.org
Subject: RPM: Turn off automatic dependency generation


I don't want rpm to check dependencies, I don't specify anything on
requires tag on spec, but the rpm installation still check the
dependencies (I know I can run --nodeps, but I don't want to add any
additional tag for others to install).

I've read the document in section of turn off automatic dependency
generation, and I tried to add "%define __find_requires %{nil}" to the
spec, but package is still check dependencies.  I even commented out
check dependencies on /usr/lib/rpm/find-requires, not work either.

Appreciate any help for how to turn off rpm dependency check.

Thank you.

Kind regards,

Rpm-list mailing list
Rpm-list at lists.rpm.org

This mail was received via Mail-SeCure System.

More information about the Rpm-list mailing list